Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.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.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008901/0.008901, allocations: 99.92 kB / 15.73 MB, free: 6.016 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.001894/0.001894, allocations: 187.6 kB / 16.67 MB, free: 5.93 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.423/2.423, allocations: 437 MB / 0.7105 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 59.91 kB / 1.018 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8501/0.8513, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002193/0.8535, allocations: 1.221 MB / 1.168 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008543/0.8544, allocations: 437.1 kB / 1.168 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.854e-05/0.8545, allocations: 0 / 1.168 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.775e-05/0.8545, allocations: 0 / 1.168 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.126e-05/0.8545, allocations: 3.938 kB / 1.168 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005232/0.8551, allocations: 111.6 kB / 1.168 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.934e-05/0.8552, allocations: 15.94 kB / 1.168 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.91e-05/0.8552, allocations: 3.984 kB / 1.168 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.516e-05/0.8552, allocations: 7.938 kB / 1.168 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.675e-05/0.8553, allocations: 11.97 kB / 1.168 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.8553, allocations: 4 kB / 1.168 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000206/0.8555, allocations: 107.8 kB / 1.168 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.813e-05/0.8555, allocations: 3.984 kB / 1.168 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.657e-05/0.8556, allocations: 11.94 kB / 1.168 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.8558, allocations: 91.33 kB / 1.169 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.8558, allocations: 0 / 1.169 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8558, allocations: 0 / 1.169 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.8558, allocations: 3.984 kB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004658/0.8563, allocations: 381.8 kB / 1.169 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.8563, allocations: 12.92 kB / 1.169 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/0.8564, allocations: 8.922 kB / 1.169 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.8565, allocations: 164.3 kB / 1.169 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.8565, allocations: 8.375 kB / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.8565, allocations: 384 / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.8566, allocations: 34.25 kB / 1.169 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.8567, allocations: 4.125 kB / 1.169 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.8567, allocations: 7.938 kB / 1.169 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.8567, allocations: 0 / 1.169 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.161e-05/0.8567, allocations: 11.92 kB / 1.169 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00014/0.8569, allocations: 157.7 kB / 1.169 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.737e-05/0.857, allocations: 26.72 kB / 1.169 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.31e-05/0.857, allocations: 16.84 kB / 1.169 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.817e-06/0.857, allocations: 0 / 1.169 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001198/0.8571, allocations: 55.34 kB / 1.169 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.8572, allocations: 4 kB / 1.169 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0002069/0.8574, allocations: 69.8 kB / 1.169 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.8574, allocations: 51.41 kB / 1.17 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.117e-05/0.8575, allocations: 109.8 kB / 1.17 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.8575, allocations: 25.7 kB / 1.17 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.303e-05/0.8575, allocations: 84.09 kB / 1.17 GB, free: 432 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.8576, allocations: 11.95 kB / 1.17 GB, free: 420 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.514e-05/0.8576, allocations: 21.7 kB / 1.17 GB, free: 392 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.155e-05/0.8577, allocations: 314.8 kB / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.152e-05/0.8577, allocations: 12 kB / 1.17 GB, free: 56 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.218e-05/0.8578, allocations: 35.36 kB / 1.17 GB, free: 8 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.638e-05/0.8579, allocations: 47.44 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.906e-06/0.8579, allocations: 3.938 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.308e-05/0.858, allocations: 69.55 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.858, allocations: 11.94 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.858, allocations: 0 / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.858, allocations: 0 / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.225e-05/0.8581, allocations: 8 kB / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.8581, allocations: 0 / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.846e-05/0.8581, allocations: 11.89 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.8581, allocations: 4.094 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (7): * Single equations (assignments): 7 * 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 7.181e-05/0.8582, allocations: 121.8 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.305e-05/0.8583, allocations: 7.938 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.421e-05/0.8583, allocations: 7.5 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.8583, allocations: 0 / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.8583, allocations: 0 / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.8583, allocations: 0 / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.8585, allocations: 153.7 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.8585, allocations: 0 / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.246e-05/0.8585, allocations: 4 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.8585, allocations: 7.938 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.8585, allocations: 3.984 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.8585, allocations: 0 / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.8585, allocations: 3.938 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.8587, allocations: 85.12 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.654e-05/0.8587, allocations: 88.98 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.8587, allocations: 3.938 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.973e-05/0.8587, allocations: 0 / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.098e-05/0.8588, allocations: 8 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.8588, allocations: 0 / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.235e-05/0.8588, allocations: 83.27 kB / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8588, allocations: 0 / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002359/0.8591, allocations: 35.88 kB / 1.171 GB, free: 15.13 MB / 0.9044 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 (4): * Single equations (assignments): 2 * 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.0003303/0.8594, allocations: 171 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001097/0.8595, allocations: 31.92 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.8595, allocations: 0 / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.581e-05/0.8596, allocations: 11.98 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/0.8597, allocations: 8 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002214/0.86, allocations: 104.9 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.8602, allocations: 0.6768 MB / 1.172 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.119e-05/0.8602, allocations: 8.188 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.515e-05/0.8602, allocations: 7.438 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.8602, allocations: 0 / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of Templates: time 0.003187/0.8634, allocations: 1.043 MB / 1.173 GB, free: 13.02 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,seed,t0,time,y