Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01019/0.01019, allocations: 102 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001851/0.001851, allocations: 193 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.362/2.362, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 64.05 kB / 0.9504 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9033/0.9047, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002141/0.9069, allocations: 1.22 MB / 1.089 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007995/0.9077, allocations: 470.1 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.695e-05/0.9077, allocations: 0 / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.066e-05/0.9078, allocations: 0.6562 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.28e-05/0.9078, allocations: 9 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004956/0.9083, allocations: 116.6 kB / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.725e-05/0.9084, allocations: 17.92 kB / 1.089 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.151e-05/0.9084, allocations: 2.719 kB / 1.089 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.221e-05/0.9085, allocations: 14.42 kB / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.843e-05/0.9085, allocations: 5.938 kB / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.9085, allocations: 1.094 kB / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002074/0.9087, allocations: 110.7 kB / 1.089 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.9088, allocations: 6.609 kB / 1.089 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.069e-05/0.9088, allocations: 12.62 kB / 1.089 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.909, allocations: 98.47 kB / 1.089 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.909, allocations: 1.875 kB / 1.089 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.174e-06/0.909, allocations: 0 / 1.089 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.909, allocations: 0 / 1.089 GB, free: 3.961 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004461/0.9095, allocations: 380.7 kB / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.9095, allocations: 13.53 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.678e-05/0.9096, allocations: 36.8 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.589e-05/0.9096, allocations: 3.062 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.924e-05/0.9097, allocations: 175.5 kB / 1.09 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.9097, allocations: 6.531 kB / 1.09 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.9097, allocations: 3.625 kB / 1.09 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.9099, allocations: 38.59 kB / 1.09 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.9099, allocations: 7.922 kB / 1.09 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.9099, allocations: 4.703 kB / 1.09 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.9099, allocations: 1.156 kB / 1.09 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.459e-05/0.9099, allocations: 6.406 kB / 1.09 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002499/0.9102, allocations: 248.7 kB / 1.09 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.173e-05/0.9103, allocations: 40.05 kB / 1.09 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.244e-05/0.9103, allocations: 16.69 kB / 1.09 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.462e-06/0.9104, allocations: 0 / 1.09 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001374/0.9105, allocations: 59.23 kB / 1.09 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.793e-06/0.9105, allocations: 7.938 kB / 1.09 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0002257/0.9107, allocations: 72.27 kB / 1.091 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.9108, allocations: 54.02 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.323e-05/0.9108, allocations: 108.6 kB / 1.091 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.9109, allocations: 30.77 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.213e-05/0.9109, allocations: 82.33 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.362e-05/0.9109, allocations: 10.92 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.9109, allocations: 21.95 kB / 1.091 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.651e-05/0.911, allocations: 321.6 kB / 1.091 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.435e-05/0.911, allocations: 11.25 kB / 1.091 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.412e-05/0.9111, allocations: 34.02 kB / 1.091 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.436e-05/0.9111, allocations: 47.12 kB / 1.091 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.9111, allocations: 9.875 kB / 1.091 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001155/0.9113, allocations: 79.5 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.9113, allocations: 6.188 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.9113, allocations: 1.562 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.9113, allocations: 1.062 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.016e-05/0.9114, allocations: 9.047 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.9114, allocations: 3.266 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.733e-05/0.9114, allocations: 9.062 kB / 1.091 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.9114, allocations: 3.188 kB / 1.091 GB, free: 2.051 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.392e-05/0.9115, allocations: 122 kB / 1.091 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.217e-05/0.9115, allocations: 6.125 kB / 1.091 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.436e-05/0.9115, allocations: 10.17 kB / 1.091 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.9115, allocations: 4 kB / 1.091 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.9116, allocations: 1.031 kB / 1.091 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.9116, allocations: 4.875 kB / 1.091 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.9118, allocations: 298.4 kB / 1.092 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.9118, allocations: 0 / 1.092 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.992e-05/0.9118, allocations: 3.297 kB / 1.092 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.9118, allocations: 5.125 kB / 1.092 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.9118, allocations: 6.281 kB / 1.092 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.9118, allocations: 0 / 1.092 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.9118, allocations: 5.312 kB / 1.092 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.912, allocations: 158.1 kB / 1.092 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.778e-05/0.912, allocations: 82.7 kB / 1.092 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.912, allocations: 1.703 kB / 1.092 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.407e-05/0.9121, allocations: 9.531 kB / 1.092 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.046e-05/0.9121, allocations: 7.172 kB / 1.092 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.9121, allocations: 1.719 kB / 1.092 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.561e-05/0.9121, allocations: 81.88 kB / 1.092 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9121, allocations: 0 / 1.092 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003026/0.9124, allocations: 42.47 kB / 1.092 GB, free: 1.242 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006432/0.9131, allocations: 0.7697 MB / 1.093 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001076/0.9132, allocations: 31.61 kB / 1.093 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.9132, allocations: 0 / 1.093 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 4.135e-05/0.9133, allocations: 15.97 kB / 1.093 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.9135, allocations: 6.328 kB / 1.093 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.9145, allocations: 1.289 MB / 1.094 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.9148, allocations: 0.6796 MB / 1.095 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.56e-05/0.9148, allocations: 3.609 kB / 1.095 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.078e-05/0.9148, allocations: 18.41 kB / 1.095 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.9148, allocations: 4 kB / 1.095 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01888/0.9337, allocations: 2.091 MB / 1.097 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.896/8.829, allocations: 17.84 kB / 1.097 GB, free: 14.09 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,C,D,seed,time,x,y