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.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: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_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.001463/0.001464, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002009/0.002009, allocations: 189.7 kB / 16.25 MB, free: 6.633 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.578/1.578, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.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.473/2.473, allocations: 390.2 MB / 0.6643 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 63.89 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8197/0.8212, allocations: 140.4 MB / 0.9491 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002013/0.8232, allocations: 1.283 MB / 0.9503 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007368/0.824, allocations: 450.2 kB / 0.9508 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.455e-05/0.824, allocations: 0 / 0.9508 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.35e-05/0.8241, allocations: 0 / 0.9508 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.92e-05/0.8241, allocations: 1.344 kB / 0.9508 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004844/0.8246, allocations: 102.8 kB / 0.9509 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.268e-05/0.8247, allocations: 25.55 kB / 0.9509 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.616e-05/0.8247, allocations: 2.75 kB / 0.9509 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.119e-05/0.8248, allocations: 12 kB / 0.9509 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.687e-05/0.8248, allocations: 10.73 kB / 0.9509 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.8248, allocations: 6.688 kB / 0.9509 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001707/0.825, allocations: 105.3 kB / 0.951 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.825, allocations: 9.359 kB / 0.951 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.736e-05/0.825, allocations: 12.05 kB / 0.951 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.8252, allocations: 99.67 kB / 0.9511 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.8252, allocations: 0 / 0.9511 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.874e-06/0.8252, allocations: 5.375 kB / 0.9511 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.8252, allocations: 0 / 0.9511 GB, free: 7.613 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.0004061/0.8257, allocations: 380.6 kB / 0.9515 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.8257, allocations: 10.19 kB / 0.9515 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.587e-05/0.8257, allocations: 6.219 kB / 0.9515 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.959e-05/0.8258, allocations: 170.8 kB / 0.9517 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.8258, allocations: 5.469 kB / 0.9517 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.8259, allocations: 3.156 kB / 0.9517 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.826, allocations: 48.14 kB / 0.9517 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.826, allocations: 192 / 0.9517 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.826, allocations: 9.25 kB / 0.9518 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.826, allocations: 0 / 0.9518 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.407e-05/0.826, allocations: 5.781 kB / 0.9518 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001116/0.8262, allocations: 157.7 kB / 0.9519 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.972e-05/0.8262, allocations: 27.48 kB / 0.9519 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.135e-05/0.8263, allocations: 23.16 kB / 0.952 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.833e-06/0.8263, allocations: 5.281 kB / 0.952 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000133/0.8264, allocations: 53.53 kB / 0.952 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.8264, allocations: 0 / 0.952 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0002068/0.8266, allocations: 81.95 kB / 0.9521 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.8267, allocations: 52.88 kB / 0.9521 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.664e-05/0.8267, allocations: 108.4 kB / 0.9522 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.8268, allocations: 26.58 kB / 0.9523 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.792e-05/0.8268, allocations: 85.33 kB / 0.9523 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.8268, allocations: 9.844 kB / 0.9524 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.8268, allocations: 24.39 kB / 0.9524 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.483e-05/0.8269, allocations: 316.4 kB / 0.9527 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.09e-05/0.8269, allocations: 3.719 kB / 0.9527 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.949e-05/0.827, allocations: 41.31 kB / 0.9527 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.916e-05/0.827, allocations: 55.77 kB / 0.9528 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.8271, allocations: 0 / 0.9528 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001016/0.8272, allocations: 80.77 kB / 0.9529 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.8272, allocations: 13.12 kB / 0.9529 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.8272, allocations: 5.438 kB / 0.9529 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.8272, allocations: 5.219 kB / 0.9529 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.609e-05/0.8273, allocations: 8.344 kB / 0.9529 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.8273, allocations: 1.094 kB / 0.9529 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.893e-05/0.8273, allocations: 6.469 kB / 0.9529 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.8274, allocations: 6.922 kB / 0.9529 GB, free: 5.75 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 (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 6.208e-05/0.8274, allocations: 116.5 kB / 0.953 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.28e-05/0.8274, allocations: 10.69 kB / 0.953 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.996e-05/0.8275, allocations: 7.562 kB / 0.953 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.8275, allocations: 1.281 kB / 0.953 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.8275, allocations: 0 / 0.953 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.8275, allocations: 1.062 kB / 0.953 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.299e-05/0.8276, allocations: 167.3 kB / 0.9532 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.8276, allocations: 0 / 0.9532 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.726e-05/0.8276, allocations: 2.281 kB / 0.9532 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.8276, allocations: 5.641 kB / 0.9532 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.8276, allocations: 7.922 kB / 0.9532 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.8276, allocations: 1.031 kB / 0.9532 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.8276, allocations: 4 kB / 0.9532 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.8278, allocations: 94.11 kB / 0.9533 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.863e-05/0.8278, allocations: 78.42 kB / 0.9534 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.8278, allocations: 5.375 kB / 0.9534 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.184e-05/0.8278, allocations: 0 / 0.9534 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.909e-05/0.8279, allocations: 2.812 kB / 0.9534 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.8279, allocations: 5.453 kB / 0.9534 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.666e-05/0.8279, allocations: 86.28 kB / 0.9535 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8279, allocations: 5.625 kB / 0.9535 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002489/0.8282, allocations: 34.97 kB / 0.9535 GB, free: 5.105 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,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.0002945/0.8285, allocations: 162.5 kB / 0.9537 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001084/0.8286, allocations: 36.7 kB / 0.9537 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.8286, allocations: 4.25 kB / 0.9537 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.601e-05/0.8286, allocations: 12.91 kB / 0.9537 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.8288, allocations: 2.625 kB / 0.9537 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000209/0.829, allocations: 129.5 kB / 0.9538 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/0.8291, allocations: 0.6828 MB / 0.9545 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.173e-05/0.8291, allocations: 1.188 kB / 0.9545 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.469e-05/0.8292, allocations: 14.12 kB / 0.9545 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.8292, allocations: 0 / 0.9545 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of Templates: time 0.003176/0.8323, allocations: 1.085 MB / 0.9556 GB, free: 3.555 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (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 & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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,t0,time,y