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.0017/0.0017, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001721/0.001721, allocations: 195.6 kB / 16.14 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.522/1.522, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.885/2.885, allocations: 437 MB / 0.71 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002645/0.002645, allocations: 63.91 kB / 0.8686 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8577/0.8604, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.004472/0.8649, allocations: 1.299 MB / 1.018 GB, free: 1.496 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0015/0.8665, allocations: 458.6 kB / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.037e-05/0.8666, allocations: 0 / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.731e-05/0.8667, allocations: 0 / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.521e-05/0.8667, allocations: 0 / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009227/0.8677, allocations: 91.72 kB / 1.018 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.721e-05/0.8678, allocations: 19.98 kB / 1.018 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.536e-05/0.8679, allocations: 0 / 1.018 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.361e-05/0.8679, allocations: 19.92 kB / 1.018 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.388e-05/0.868, allocations: 11.91 kB / 1.018 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.868, allocations: 4 kB / 1.018 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003859/0.8684, allocations: 103.8 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.325e-05/0.8685, allocations: 3.984 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.622e-05/0.8685, allocations: 11.94 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0003619/0.8689, allocations: 103.8 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 9.408e-06/0.8689, allocations: 0 / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.996e-06/0.8689, allocations: 0 / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.403e-06/0.8689, allocations: 0 / 1.019 GB, free: 0.6836 MB / 0.7637 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.000827/0.8698, allocations: 383.2 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/0.8698, allocations: 11.97 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.764e-05/0.8699, allocations: 12.83 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.8701, allocations: 176.2 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/0.8701, allocations: 4.375 kB / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.8702, allocations: 4.375 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.8704, allocations: 46.27 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.8704, allocations: 192 / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.8704, allocations: 3.938 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.8704, allocations: 0 / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.763e-05/0.8705, allocations: 7.984 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000242/0.8707, allocations: 153.7 kB / 1.019 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.942e-05/0.8708, allocations: 34.55 kB / 1.019 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.749e-05/0.8709, allocations: 16.86 kB / 1.019 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.688e-06/0.8709, allocations: 4 kB / 1.019 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002557/0.8712, allocations: 59.48 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.8712, allocations: 0 / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0002884/0.8715, allocations: 77.53 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.009e-05/0.8715, allocations: 59.34 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.8717, allocations: 105.8 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.8717, allocations: 29.7 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.769e-05/0.8718, allocations: 84.14 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.292e-05/0.8718, allocations: 11.8 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/0.8719, allocations: 21.72 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001999/0.8721, allocations: 314.8 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.261e-05/0.8722, allocations: 7.984 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.34e-05/0.8722, allocations: 44.2 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.686e-05/0.8723, allocations: 56.22 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.8724, allocations: 0 / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001601/0.8725, allocations: 81.56 kB / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.8725, allocations: 9.812 kB / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.8726, allocations: 4.156 kB / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.8726, allocations: 0 / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.8727, allocations: 11.98 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.688e-05/0.8727, allocations: 7.984 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.848e-05/0.8728, allocations: 0 / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.8728, allocations: 7.938 kB / 1.02 GB, free: 14.61 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 0.0001718/0.873, allocations: 125.8 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.873, allocations: 7.844 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.722e-05/0.873, allocations: 3.562 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.8731, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.8731, allocations: 7.984 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.8731, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.8733, allocations: 153.7 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.8733, allocations: 48 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.799e-05/0.8733, allocations: 7.984 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.8734, allocations: 3.938 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.8734, allocations: 0.5 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.8734, allocations: 7.938 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.8734, allocations: 0 / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/0.8736, allocations: 101 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.333e-05/0.8737, allocations: 81.02 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.8737, allocations: 3.938 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.611e-05/0.8738, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.37e-05/0.8738, allocations: 11.98 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.8738, allocations: 0 / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.71e-05/0.8739, allocations: 83.28 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8739, allocations: 0 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003874/0.8743, allocations: 35.98 kB / 1.021 GB, free: 13.89 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.0005747/0.8749, allocations: 157.6 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001558/0.8751, allocations: 39.98 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.8751, allocations: 0 / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.176e-05/0.8751, allocations: 12 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.8753, allocations: 13.19 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003582/0.8757, allocations: 118.7 kB / 1.021 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.876, allocations: 0.677 MB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.111e-05/0.8761, allocations: 8.188 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.782e-05/0.8761, allocations: 11.44 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of SimCode: time 3.81e-07/0.8761, allocations: 0 / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of Templates: time 0.00454/0.8807, allocations: 1.07 MB / 1.023 GB, free: 11.74 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=400 -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