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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.00135/0.00135, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 196.9 kB / 16.54 MB, free: 6.672 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.474/1.474, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.04/3.04, allocations: 482.6 MB / 0.7549 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.003113/0.003113, allocations: 61.12 kB / 0.9241 GB, free: 29.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3759, allocations: 162.3 MB / 1.083 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002847/0.3788, allocations: 1.229 MB / 1.084 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001107/0.38, allocations: 454.5 kB / 1.084 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.21e-05/0.38, allocations: 0 / 1.084 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.594e-05/0.38, allocations: 3.938 kB / 1.084 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.667e-05/0.3801, allocations: 0 / 1.084 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006408/0.3808, allocations: 115.6 kB / 1.084 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.628e-05/0.3808, allocations: 23.92 kB / 1.084 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.576e-05/0.3809, allocations: 7.938 kB / 1.084 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.524e-05/0.3809, allocations: 4 kB / 1.084 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.721e-05/0.381, allocations: 15.92 kB / 1.084 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.381, allocations: 0 / 1.084 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002373/0.3812, allocations: 103.9 kB / 1.084 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.203e-05/0.3813, allocations: 7.984 kB / 1.084 GB, free: 11 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.374e-05/0.3813, allocations: 15.92 kB / 1.084 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.3816, allocations: 95.75 kB / 1.085 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3816, allocations: 0 / 1.085 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3816, allocations: 4 kB / 1.085 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.3816, allocations: 0 / 1.085 GB, free: 10.89 MB / 0.8419 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.0006324/0.3823, allocations: 393.3 kB / 1.085 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.3823, allocations: 8.031 kB / 1.085 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.326e-05/0.3823, allocations: 0.9375 kB / 1.085 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.3825, allocations: 172.3 kB / 1.085 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/0.3825, allocations: 4.359 kB / 1.085 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.3826, allocations: 8.359 kB / 1.085 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.3827, allocations: 42.25 kB / 1.085 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.3827, allocations: 4.188 kB / 1.085 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.3827, allocations: 3.938 kB / 1.085 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.3828, allocations: 0 / 1.085 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.184e-05/0.3828, allocations: 15.86 kB / 1.085 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000222/0.383, allocations: 153.7 kB / 1.085 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.677e-05/0.3831, allocations: 26.58 kB / 1.085 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.926e-05/0.3832, allocations: 16.94 kB / 1.085 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.3832, allocations: 4 kB / 1.085 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001857/0.3834, allocations: 55.41 kB / 1.085 GB, free: 9.824 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.3834, allocations: 0 / 1.085 GB, free: 9.824 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5): time 0.0002505/0.3836, allocations: 81.55 kB / 1.086 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.3837, allocations: 51.41 kB / 1.086 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.39e-05/0.3838, allocations: 105.8 kB / 1.086 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.3838, allocations: 25.7 kB / 1.086 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.469e-05/0.3839, allocations: 88.14 kB / 1.086 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.3839, allocations: 15.75 kB / 1.086 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.12e-05/0.384, allocations: 21.7 kB / 1.086 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3841, allocations: 318.8 kB / 1.086 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.191e-05/0.3841, allocations: 4 kB / 1.086 GB, free: 9.074 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.313e-05/0.3842, allocations: 40.28 kB / 1.086 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.492e-05/0.3843, allocations: 64.66 kB / 1.086 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3843, allocations: 0 / 1.086 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001274/0.3844, allocations: 73.53 kB / 1.086 GB, free: 8.863 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.3845, allocations: 12.06 kB / 1.086 GB, free: 8.852 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3845, allocations: 0 / 1.086 GB, free: 8.852 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.3845, allocations: 4 kB / 1.086 GB, free: 8.848 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.536e-05/0.3846, allocations: 23.88 kB / 1.086 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.3846, allocations: 3.984 kB / 1.086 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.151e-05/0.3846, allocations: 4 kB / 1.086 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.3847, allocations: 0 / 1.086 GB, free: 8.816 MB / 0.8419 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 8.996e-05/0.3848, allocations: 113.8 kB / 1.086 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.571e-05/0.3848, allocations: 7.938 kB / 1.086 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.095e-05/0.3848, allocations: 7.562 kB / 1.086 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3848, allocations: 0 / 1.086 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3848, allocations: 0 / 1.086 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3848, allocations: 0 / 1.086 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.385, allocations: 161.7 kB / 1.087 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.385, allocations: 0 / 1.087 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.992e-05/0.385, allocations: 4 kB / 1.087 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.385, allocations: 3.938 kB / 1.087 GB, free: 8.469 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.385, allocations: 0 / 1.087 GB, free: 8.469 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.385, allocations: 3.938 kB / 1.087 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.385, allocations: 0 / 1.087 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.3852, allocations: 97.06 kB / 1.087 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.118e-05/0.3853, allocations: 85.09 kB / 1.087 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.3853, allocations: 7.875 kB / 1.087 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.202e-05/0.3853, allocations: 0 / 1.087 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.918e-05/0.3853, allocations: 8 kB / 1.087 GB, free: 8.234 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.3854, allocations: 3.984 kB / 1.087 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.471e-05/0.3854, allocations: 79.34 kB / 1.087 GB, free: 8.152 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3854, allocations: 4 kB / 1.087 GB, free: 8.148 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002856/0.3857, allocations: 39.98 kB / 1.087 GB, free: 8.109 MB / 0.8419 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.0003888/0.3861, allocations: 162 kB / 1.087 GB, free: 7.953 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001381/0.3862, allocations: 39.86 kB / 1.087 GB, free: 7.914 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3863, allocations: 4.188 kB / 1.087 GB, free: 7.91 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.163e-05/0.3863, allocations: 20 kB / 1.087 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.3865, allocations: 0 / 1.087 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002797/0.3867, allocations: 121 kB / 1.087 GB, free: 7.746 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.387, allocations: 0.6768 MB / 1.088 GB, free: 7.043 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.674e-05/0.3871, allocations: 4 kB / 1.088 GB, free: 7.039 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.035e-05/0.3871, allocations: 15.44 kB / 1.088 GB, free: 7.023 MB / 0.8419 GB Notification: Performance of SimCode: time 4.51e-07/0.3871, allocations: 0 / 1.088 GB, free: 7.023 MB / 0.8419 GB Notification: Performance of Templates: time 0.004145/0.3913, allocations: 1.088 MB / 1.089 GB, free: 5.938 MB / 0.8419 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=400 -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