Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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.005186/0.005186, allocations: 102.2 kB / 15.73 MB, free: 6.035 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.001192/0.001193, allocations: 195.6 kB / 16.67 MB, free: 5.969 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.759/2.759, allocations: 461.9 MB / 0.7348 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 63.91 kB / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2931, allocations: 157.4 MB / 1.208 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002671/0.2959, allocations: 1.217 MB / 1.209 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009538/0.2969, allocations: 442.4 kB / 1.209 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.398e-05/0.2969, allocations: 4 kB / 1.209 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.647e-05/0.2969, allocations: 0 / 1.209 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.113e-05/0.297, allocations: 0 / 1.209 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006143/0.2976, allocations: 103.6 kB / 1.209 GB, free: 7.914 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.872e-05/0.2977, allocations: 15.98 kB / 1.209 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.207e-05/0.2978, allocations: 0 / 1.209 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.657e-05/0.2978, allocations: 15.92 kB / 1.209 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.776e-05/0.2978, allocations: 4 kB / 1.209 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.2979, allocations: 0 / 1.209 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002418/0.2981, allocations: 107.8 kB / 1.21 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.64e-05/0.2981, allocations: 7.938 kB / 1.21 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.498e-05/0.2982, allocations: 15.97 kB / 1.21 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.2984, allocations: 91.83 kB / 1.21 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.2984, allocations: 0 / 1.21 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.22e-07/0.2984, allocations: 0 / 1.21 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.2984, allocations: 0 / 1.21 GB, free: 7.66 MB / 0.9669 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.0004549/0.2989, allocations: 381 kB / 1.21 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.2989, allocations: 8.625 kB / 1.21 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.798e-05/0.2989, allocations: 4.938 kB / 1.21 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.857e-05/0.299, allocations: 172.3 kB / 1.21 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.2991, allocations: 4.359 kB / 1.21 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.2991, allocations: 8.375 kB / 1.21 GB, free: 7 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.716e-05/0.2992, allocations: 34.25 kB / 1.21 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.2992, allocations: 192 / 1.21 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.2992, allocations: 3.938 kB / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.2992, allocations: 4 kB / 1.21 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.94e-05/0.2993, allocations: 0 / 1.21 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/0.2994, allocations: 161.6 kB / 1.21 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.898e-05/0.2995, allocations: 34.52 kB / 1.21 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.109e-05/0.2996, allocations: 16.86 kB / 1.21 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.457e-06/0.2996, allocations: 4.078 kB / 1.21 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001286/0.2997, allocations: 51.41 kB / 1.211 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.2997, allocations: 0 / 1.211 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0001958/0.2999, allocations: 81.45 kB / 1.211 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.3, allocations: 51.41 kB / 1.211 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.858e-05/0.3, allocations: 101.8 kB / 1.211 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.3001, allocations: 29.7 kB / 1.211 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.21e-05/0.3001, allocations: 80.14 kB / 1.211 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.3001, allocations: 3.906 kB / 1.211 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.705e-05/0.3002, allocations: 25.72 kB / 1.211 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.396e-05/0.3003, allocations: 314.8 kB / 1.211 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.837e-05/0.3003, allocations: 8 kB / 1.211 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.884e-05/0.3003, allocations: 35.42 kB / 1.211 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.742e-05/0.3004, allocations: 47.73 kB / 1.211 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3004, allocations: 0 / 1.211 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.931e-05/0.3005, allocations: 73.53 kB / 1.211 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3005, allocations: 13.66 kB / 1.211 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.3005, allocations: 7.938 kB / 1.211 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.3006, allocations: 0 / 1.211 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.463e-05/0.3006, allocations: 15.92 kB / 1.211 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.3006, allocations: 0 / 1.211 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.491e-05/0.3007, allocations: 4 kB / 1.211 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.3007, allocations: 0 / 1.211 GB, free: 5.66 MB / 0.9669 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.639e-05/0.3008, allocations: 121.9 kB / 1.211 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.248e-05/0.3008, allocations: 3.938 kB / 1.211 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.159e-05/0.3008, allocations: 3.5 kB / 1.211 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.3008, allocations: 7.984 kB / 1.211 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3008, allocations: 0 / 1.211 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3008, allocations: 0 / 1.211 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.3009, allocations: 153.7 kB / 1.212 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3009, allocations: 0 / 1.212 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.471e-05/0.301, allocations: 4 kB / 1.212 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.301, allocations: 3.938 kB / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.301, allocations: 4 kB / 1.212 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.301, allocations: 3.938 kB / 1.212 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.301, allocations: 160 / 1.212 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.3011, allocations: 85.02 kB / 1.212 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.419e-05/0.3012, allocations: 81.11 kB / 1.212 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.3012, allocations: 7.938 kB / 1.212 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.073e-05/0.3012, allocations: 3.938 kB / 1.212 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.129e-05/0.3012, allocations: 3.984 kB / 1.212 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.3013, allocations: 8 kB / 1.212 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.155e-05/0.3013, allocations: 79.28 kB / 1.212 GB, free: 5 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3013, allocations: 0 / 1.212 GB, free: 5 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002516/0.3016, allocations: 35.98 kB / 1.212 GB, free: 4.965 MB / 0.9669 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.0003186/0.3019, allocations: 160.5 kB / 1.212 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001288/0.302, allocations: 35.92 kB / 1.212 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.302, allocations: 0 / 1.212 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.811e-05/0.3021, allocations: 15.94 kB / 1.212 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001297/0.3022, allocations: 3.938 kB / 1.212 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002398/0.3025, allocations: 124.8 kB / 1.212 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.3027, allocations: 0.6768 MB / 1.213 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.057e-05/0.3027, allocations: 4 kB / 1.213 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.39e-05/0.3027, allocations: 11.62 kB / 1.213 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.3027, allocations: 0 / 1.213 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of Templates: time 0.00332/0.306, allocations: 1.061 MB / 1.214 GB, free: 2.832 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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