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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001116/0.001116, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001448/0.001448, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 223.3 MB / 240 MB, free: 5.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.981/2.981, allocations: 437.7 MB / 0.7117 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005013/0.000502, allocations: 12 kB / 0.8722 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8744/0.8749, allocations: 153.8 MB / 1.022 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.001564/0.8765, allocations: 0.9525 MB / 1.023 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008941/0.8774, allocations: 411 kB / 1.024 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.332e-05/0.8775, allocations: 11.88 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.85e-05/0.8775, allocations: 0 / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.311e-05/0.8776, allocations: 3.984 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004903/0.8781, allocations: 79.8 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.425e-05/0.8781, allocations: 19.92 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.7e-05/0.8782, allocations: 3.984 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.706e-05/0.8782, allocations: 11.98 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.806e-05/0.8783, allocations: 11.92 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.8783, allocations: 11.94 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002206/0.8785, allocations: 95.84 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/0.8786, allocations: 7.984 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.213e-05/0.8786, allocations: 29.7 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002498/0.8789, allocations: 63.89 kB / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.8789, allocations: 4 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.364e-06/0.8789, allocations: 0 / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.8789, allocations: 0 / 1.024 GB, free: 14.36 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.0004613/0.8794, allocations: 375 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.8794, allocations: 12.56 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.8794, allocations: 8 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.8796, allocations: 170.9 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.8796, allocations: 3.984 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.8796, allocations: 4 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.8798, allocations: 45.64 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.8798, allocations: 0 / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.8798, allocations: 0 / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.8798, allocations: 3.984 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.825e-05/0.8798, allocations: 7.984 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001815/0.88, allocations: 157.7 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.79e-05/0.8801, allocations: 34.45 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.326e-05/0.8801, allocations: 16.94 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.8802, allocations: 0 / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001595/0.8803, allocations: 59.36 kB / 1.025 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.353e-06/0.8803, allocations: 4 kB / 1.025 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0002602/0.8806, allocations: 77.61 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.8807, allocations: 51.41 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.786e-05/0.8808, allocations: 105.8 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.8808, allocations: 25.7 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.8808, allocations: 84.14 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.8809, allocations: 11.81 kB / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.8809, allocations: 0 / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.881, allocations: 322.8 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.958e-05/0.881, allocations: 8 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.326e-05/0.8811, allocations: 44.22 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.168e-05/0.8811, allocations: 12 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.8811, allocations: 0 / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001155/0.8812, allocations: 77.47 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.8813, allocations: 11.95 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.8813, allocations: 0 / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.8813, allocations: 0 / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.002e-05/0.8814, allocations: 20.42 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.689e-06/0.8814, allocations: 4 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.811e-05/0.8814, allocations: 0 / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.8814, allocations: 4 kB / 1.026 GB, free: 12.4 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 ($PRE.y,y,$PRE.curSeed,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.465e-05/0.8815, allocations: 125.9 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.256e-06/0.8815, allocations: 0 / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.56e-05/0.8816, allocations: 11.5 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.8816, allocations: 4 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.8816, allocations: 0 / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.8816, allocations: 0 / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.8817, allocations: 157.7 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.8817, allocations: 0 / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.99e-05/0.8818, allocations: 4 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.8818, allocations: 0 / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.964e-06/0.8818, allocations: 7.938 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/0.8818, allocations: 11.94 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.8818, allocations: 3.938 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.8819, allocations: 89.03 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.597e-05/0.882, allocations: 77.11 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.882, allocations: 0 / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.464e-05/0.882, allocations: 7.984 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.492e-05/0.8821, allocations: 7.953 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.8821, allocations: 4 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.761e-05/0.8821, allocations: 79.28 kB / 1.026 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.8821, allocations: 0 / 1.026 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002539/0.8824, allocations: 43.98 kB / 1.026 GB, free: 11.68 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003601/0.8828, allocations: 167.4 kB / 1.026 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001173/0.8829, allocations: 39.92 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.8829, allocations: 0 / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.259e-05/0.8829, allocations: 19.92 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.8831, allocations: 5.406 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00042/0.8835, allocations: 124.5 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.8839, allocations: 0.6812 MB / 1.027 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.308e-05/0.8839, allocations: 4 kB / 1.027 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.929e-05/0.884, allocations: 11.44 kB / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.884, allocations: 0 / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of Templates: time 0.003512/0.8875, allocations: 1.052 MB / 1.028 GB, free: 9.535 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