Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005621/0.005622, allocations: 103.3 kB / 15.73 MB, free: 6.035 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.001117/0.001117, allocations: 199.1 kB / 16.67 MB, free: 5.969 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.9/2.9, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 67.89 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3767, allocations: 157.4 MB / 1.208 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002462/0.3793, allocations: 1.227 MB / 1.209 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009631/0.3803, allocations: 450.5 kB / 1.209 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.991e-05/0.3803, allocations: 0 / 1.209 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.917e-05/0.3803, allocations: 3.938 kB / 1.209 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.678e-05/0.3804, allocations: 0 / 1.209 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005802/0.381, allocations: 115.6 kB / 1.209 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.042e-05/0.3811, allocations: 15.98 kB / 1.209 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.126e-05/0.3811, allocations: 11.88 kB / 1.209 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.399e-05/0.3811, allocations: 4 kB / 1.209 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.805e-05/0.3812, allocations: 15.92 kB / 1.209 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.3812, allocations: 0 / 1.209 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002086/0.3814, allocations: 103.9 kB / 1.21 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.8e-05/0.3815, allocations: 4 kB / 1.21 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.557e-05/0.3815, allocations: 19.91 kB / 1.21 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.3817, allocations: 107.7 kB / 1.21 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3817, allocations: 0 / 1.21 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3817, allocations: 0 / 1.21 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.3817, allocations: 0 / 1.21 GB, free: 7.598 MB / 0.9669 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.0005176/0.3823, allocations: 393 kB / 1.21 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.3823, allocations: 8.625 kB / 1.21 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/0.3824, allocations: 0.9375 kB / 1.21 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.3825, allocations: 172.3 kB / 1.21 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.3825, allocations: 384 / 1.21 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.3825, allocations: 8.375 kB / 1.21 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.3827, allocations: 46.23 kB / 1.21 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.3827, allocations: 192 / 1.21 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.3827, allocations: 3.938 kB / 1.21 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.3827, allocations: 0 / 1.21 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.989e-05/0.3828, allocations: 11.92 kB / 1.21 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001687/0.3829, allocations: 157.7 kB / 1.21 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.962e-05/0.383, allocations: 26.58 kB / 1.21 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.292e-05/0.383, allocations: 16.86 kB / 1.211 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.3831, allocations: 96 / 1.211 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000148/0.3832, allocations: 59.39 kB / 1.211 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.203e-06/0.3832, allocations: 0 / 1.211 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0002276/0.3835, allocations: 81.73 kB / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.3835, allocations: 55.41 kB / 1.211 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.486e-05/0.3836, allocations: 109.9 kB / 1.211 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.3836, allocations: 25.7 kB / 1.211 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.212e-05/0.3837, allocations: 88.14 kB / 1.211 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/0.3837, allocations: 11.75 kB / 1.211 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.666e-05/0.3837, allocations: 21.72 kB / 1.211 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.3839, allocations: 318.8 kB / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.158e-05/0.3839, allocations: 4 kB / 1.211 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.122e-05/0.3839, allocations: 44.28 kB / 1.211 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.528e-05/0.384, allocations: 56.17 kB / 1.211 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.384, allocations: 0 / 1.211 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001126/0.3841, allocations: 85.52 kB / 1.211 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.3841, allocations: 7.938 kB / 1.211 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.3842, allocations: 4 kB / 1.211 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3842, allocations: 0 / 1.211 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.599e-05/0.3843, allocations: 11.94 kB / 1.211 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.3843, allocations: 0 / 1.211 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.763e-05/0.3843, allocations: 7.938 kB / 1.211 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.3843, allocations: 4 kB / 1.211 GB, free: 5.531 MB / 0.9669 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 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * 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 7.52e-05/0.3844, allocations: 114 kB / 1.212 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/0.3844, allocations: 15.88 kB / 1.212 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.964e-05/0.3844, allocations: 3.562 kB / 1.212 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.3845, allocations: 0 / 1.212 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3845, allocations: 0 / 1.212 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.3845, allocations: 4 kB / 1.212 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.3846, allocations: 153.7 kB / 1.212 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.3846, allocations: 0 / 1.212 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.994e-05/0.3846, allocations: 7.984 kB / 1.212 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.3846, allocations: 3.938 kB / 1.212 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.3846, allocations: 0 / 1.212 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3847, allocations: 7.938 kB / 1.212 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3847, allocations: 0 / 1.212 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.3848, allocations: 93.28 kB / 1.212 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.35e-05/0.3849, allocations: 81.16 kB / 1.212 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.3849, allocations: 7.938 kB / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.118e-05/0.3849, allocations: 0 / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.829e-05/0.3849, allocations: 8 kB / 1.212 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-06/0.3849, allocations: 0 / 1.212 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.053e-05/0.385, allocations: 87.27 kB / 1.212 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.51e-07/0.385, allocations: 0 / 1.212 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002493/0.3852, allocations: 32 kB / 1.212 GB, free: 4.832 MB / 0.9669 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,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.0003614/0.3856, allocations: 174.8 kB / 1.212 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001315/0.3858, allocations: 47.98 kB / 1.212 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.3858, allocations: 0 / 1.212 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.982e-05/0.3858, allocations: 19.88 kB / 1.212 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.386, allocations: 0 / 1.212 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002585/0.3862, allocations: 131.3 kB / 1.212 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.3865, allocations: 0.6729 MB / 1.213 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.471e-05/0.3865, allocations: 7.984 kB / 1.213 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.796e-05/0.3866, allocations: 15.56 kB / 1.213 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/0.3866, allocations: 0 / 1.213 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of Templates: time 0.003642/0.3902, allocations: 1.085 MB / 1.214 GB, free: 2.637 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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,t0,time,y