Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Logit2D,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit2D",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.0008819/0.000882, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.008077/0.008078, allocations: 174.4 kB / 16.27 MB, free: 6.613 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.29/1.29, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.11/2.11, allocations: 390.9 MB / 0.6664 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003232/0.0003231, allocations: 8 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5503/0.5507, allocations: 142.4 MB / 0.9552 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.0009141/0.5516, allocations: 0.9509 MB / 0.9561 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006602/0.5523, allocations: 452 kB / 0.9565 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.77e-05/0.5523, allocations: 0 / 0.9565 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.159e-05/0.5523, allocations: 1.094 kB / 0.9565 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.54e-05/0.5524, allocations: 3.938 kB / 0.9565 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003615/0.5527, allocations: 92.77 kB / 0.9566 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.277e-05/0.5528, allocations: 14.06 kB / 0.9566 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.419e-05/0.5528, allocations: 8.953 kB / 0.9566 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.1e-05/0.5529, allocations: 13.53 kB / 0.9566 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.411e-05/0.5529, allocations: 10.17 kB / 0.9567 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.5529, allocations: 2.156 kB / 0.9567 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001615/0.5531, allocations: 107.8 kB / 0.9568 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.5531, allocations: 5.047 kB / 0.9568 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.067e-05/0.5531, allocations: 42.25 kB / 0.9568 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.5533, allocations: 99.86 kB / 0.9569 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.5533, allocations: 0 / 0.9569 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5533, allocations: 1.125 kB / 0.9569 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.5533, allocations: 0 / 0.9569 GB, free: 6.301 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003/0.5536, allocations: 380.7 kB / 0.9573 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.5536, allocations: 9.844 kB / 0.9573 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.832e-05/0.5537, allocations: 39.86 kB / 0.9573 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.132e-05/0.5537, allocations: 7.344 kB / 0.9573 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.738e-05/0.5538, allocations: 165.5 kB / 0.9575 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.5538, allocations: 2.625 kB / 0.9575 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.407e-06/0.5538, allocations: 2.812 kB / 0.9575 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.99e-05/0.5539, allocations: 42.59 kB / 0.9575 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.5539, allocations: 7.938 kB / 0.9575 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.5539, allocations: 3.984 kB / 0.9575 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.554, allocations: 1.125 kB / 0.9575 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.192e-05/0.554, allocations: 17.72 kB / 0.9576 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002291/0.5542, allocations: 245.7 kB / 0.9578 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.659e-05/0.5543, allocations: 31.22 kB / 0.9578 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.343e-05/0.5543, allocations: 21.23 kB / 0.9578 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.172e-06/0.5543, allocations: 4.969 kB / 0.9578 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001125/0.5545, allocations: 62.98 kB / 0.9579 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.5545, allocations: 3.938 kB / 0.9579 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0001738/0.5546, allocations: 81.89 kB / 0.958 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.5547, allocations: 52.53 kB / 0.958 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.316e-05/0.5547, allocations: 108.6 kB / 0.9581 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.624e-06/0.5547, allocations: 26.8 kB / 0.9582 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.762e-05/0.5548, allocations: 85.36 kB / 0.9582 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.449e-05/0.5548, allocations: 14.06 kB / 0.9583 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2e-05/0.5548, allocations: 12.09 kB / 0.9583 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.702e-05/0.5548, allocations: 320.1 kB / 0.9586 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.815e-05/0.5549, allocations: 6.875 kB / 0.9586 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.021e-05/0.5549, allocations: 48.22 kB / 0.9586 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.254e-05/0.555, allocations: 57.77 kB / 0.9587 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.555, allocations: 3.938 kB / 0.9587 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.058e-05/0.5551, allocations: 78.33 kB / 0.9588 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.5551, allocations: 11.12 kB / 0.9588 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.5551, allocations: 1.375 kB / 0.9588 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.5551, allocations: 1.469 kB / 0.9588 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.395e-05/0.5552, allocations: 13.45 kB / 0.9588 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.5552, allocations: 1.531 kB / 0.9588 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.646e-05/0.5552, allocations: 18.36 kB / 0.9588 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.118e-06/0.5552, allocations: 6.938 kB / 0.9588 GB, free: 4.293 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (9): * Single equations (assignments): 9 * 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 4.524e-05/0.5553, allocations: 121 kB / 0.9589 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.596e-06/0.5553, allocations: 1.719 kB / 0.9589 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.801e-05/0.5553, allocations: 9.625 kB / 0.9589 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.5553, allocations: 5.734 kB / 0.9589 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.5553, allocations: 0 / 0.9589 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.5553, allocations: 0 / 0.9589 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.5555, allocations: 310.6 kB / 0.9592 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.5555, allocations: 0 / 0.9592 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.022e-05/0.5555, allocations: 7.75 kB / 0.9592 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.5555, allocations: 0 / 0.9592 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.5555, allocations: 1.781 kB / 0.9592 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.5555, allocations: 4.188 kB / 0.9593 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.5556, allocations: 1.469 kB / 0.9593 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.5557, allocations: 178.3 kB / 0.9594 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.413e-05/0.5557, allocations: 78.58 kB / 0.9595 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.5557, allocations: 1.406 kB / 0.9595 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.665e-05/0.5558, allocations: 4 kB / 0.9595 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.769e-05/0.5558, allocations: 5.516 kB / 0.9595 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.81e-06/0.5558, allocations: 2.969 kB / 0.9595 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.771e-05/0.5558, allocations: 82.12 kB / 0.9596 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5558, allocations: 1.312 kB / 0.9596 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000249/0.5561, allocations: 40.3 kB / 0.9596 GB, free: 3.457 MB / 0.7169 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 (6): * Single equations (assignments): 4 * 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.0004476/0.5565, allocations: 0.7801 MB / 0.9604 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.973e-05/0.5566, allocations: 39.27 kB / 0.9604 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.5566, allocations: 0 / 0.9604 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.42e-05/0.5567, allocations: 20.48 kB / 0.9605 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/0.5569, allocations: 0 / 0.9605 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006774/0.5575, allocations: 1.315 MB / 0.9617 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.096e-05/0.5576, allocations: 0.6798 MB / 0.9624 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.927e-05/0.5577, allocations: 6.75 kB / 0.9624 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.057e-05/0.5577, allocations: 14.19 kB / 0.9624 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.5577, allocations: 0 / 0.9624 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9927/1.55, allocations: 1.851 MB / 0.9642 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000226/1.551, allocations: 243.9 kB / 0.9645 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.007/3.558, allocations: 1.125 kB / 0.9645 GB, free: 15.52 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit2D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit2D.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,C,seed,time,x1,x2,y