Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_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.001036/0.001036, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008403/0.008403, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.583/1.583, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.898/2.898, allocations: 437.8 MB / 0.7121 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003815/0.0003815, allocations: 12 kB / 0.8728 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8416/0.842, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.001558/0.8436, allocations: 0.9487 MB / 1.024 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.8447, allocations: 450.7 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.191e-05/0.8447, allocations: 0 / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.006e-05/0.8447, allocations: 0 / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.23e-05/0.8448, allocations: 3.938 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000572/0.8454, allocations: 87.77 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.831e-05/0.8455, allocations: 19.98 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.143e-05/0.8455, allocations: 0 / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.126e-05/0.8456, allocations: 15.94 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.718e-05/0.8456, allocations: 11.92 kB / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.8456, allocations: 7.938 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002416/0.8459, allocations: 103.9 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.977e-05/0.8459, allocations: 3.984 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.548e-05/0.846, allocations: 41.62 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.8462, allocations: 99.8 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.8462, allocations: 0 / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.144e-06/0.8462, allocations: 3.938 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.8463, allocations: 0 / 1.025 GB, free: 14.09 MB / 0.7794 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.0005054/0.8468, allocations: 379.2 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.8468, allocations: 8.031 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/0.8469, allocations: 12.86 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.847, allocations: 176.2 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.847, allocations: 384 / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.847, allocations: 4.375 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.8472, allocations: 42.25 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.8472, allocations: 4.172 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.8472, allocations: 7.922 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.8472, allocations: 4 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.496e-05/0.8473, allocations: 4 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002387/0.8475, allocations: 157.6 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.601e-05/0.8476, allocations: 30.61 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.837e-05/0.8477, allocations: 12.86 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.8477, allocations: 4 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000207/0.8479, allocations: 59.48 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 2.584e-06/0.8479, allocations: 0 / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0003213/0.8482, allocations: 77.56 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.8483, allocations: 55.41 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.8484, allocations: 105.8 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.8484, allocations: 25.7 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.157e-05/0.8485, allocations: 88.14 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.56e-05/0.8486, allocations: 7.891 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.8486, allocations: 21.72 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.8487, allocations: 310.8 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.587e-05/0.8488, allocations: 15.98 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.001e-05/0.8488, allocations: 36.3 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.673e-05/0.8489, allocations: 56.22 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.8489, allocations: 0 / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001137/0.849, allocations: 77.47 kB / 1.026 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.8491, allocations: 10.12 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.8491, allocations: 4 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.8491, allocations: 0 / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.546e-05/0.8492, allocations: 20.05 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.8492, allocations: 4 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.817e-05/0.8492, allocations: 0 / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.8492, allocations: 4 kB / 1.026 GB, free: 12.04 MB / 0.7794 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 9.948e-05/0.8494, allocations: 118.8 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.8494, allocations: 7.875 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.664e-05/0.8494, allocations: 7.562 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.8494, allocations: 4 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.545e-06/0.8494, allocations: 3.984 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.8494, allocations: 8 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.8496, allocations: 161.6 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.8496, allocations: 3.938 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.213e-05/0.8496, allocations: 4 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.8496, allocations: 3.938 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.8496, allocations: 0 / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.8496, allocations: 0 / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.8496, allocations: 7.938 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.8498, allocations: 89.11 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.55e-05/0.8498, allocations: 81.11 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.8499, allocations: 3.938 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.321e-05/0.8499, allocations: 4 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/0.8499, allocations: 3.984 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.8499, allocations: 0 / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.785e-05/0.85, allocations: 79.28 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.85, allocations: 0 / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00028/0.8503, allocations: 39.98 kB / 1.027 GB, free: 11.32 MB / 0.7794 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.0004244/0.8507, allocations: 169.6 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001271/0.8508, allocations: 32.17 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.8508, allocations: 0 / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.506e-05/0.8509, allocations: 15.94 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.8511, allocations: 9.641 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003445/0.8514, allocations: 130.7 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.8518, allocations: 0.6809 MB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.906e-05/0.8518, allocations: 4 kB / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.987e-05/0.8518, allocations: 7.438 kB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of SimCode: time 6.82e-07/0.8518, allocations: 0 / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of Templates: time 0.00459/0.8564, allocations: 1.07 MB / 1.029 GB, free: 9.164 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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