Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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.001734/0.001734, 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.002281/0.002281, allocations: 191.8 kB / 16.13 MB, free: 6.699 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.463/1.463, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.058/3.058, allocations: 472.7 MB / 0.7447 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 70.19 kB / 0.9114 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.3964, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.003185/0.3996, allocations: 1.3 MB / 1.069 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.4007, allocations: 460.8 kB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.716e-05/0.4008, allocations: 0 / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.457e-05/0.4008, allocations: 4 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.455e-05/0.4009, allocations: 0 / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006465/0.4016, allocations: 87.78 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.465e-05/0.4016, allocations: 27.86 kB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.066e-05/0.4017, allocations: 0 / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.54e-05/0.4017, allocations: 11.97 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.586e-05/0.4018, allocations: 11.94 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.4018, allocations: 0 / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002601/0.4021, allocations: 107.8 kB / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.57e-05/0.4021, allocations: 7.984 kB / 1.07 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.71e-05/0.4022, allocations: 15.94 kB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002398/0.4024, allocations: 95.8 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.4024, allocations: 0 / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4024, allocations: 0 / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.4024, allocations: 0 / 1.07 GB, free: 8.758 MB / 0.8262 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.0005716/0.403, allocations: 389.4 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.4031, allocations: 8.031 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.334e-05/0.4031, allocations: 0.9375 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.4033, allocations: 180.4 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.4033, allocations: 4.375 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.4033, allocations: 8.312 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.4035, allocations: 42.19 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.4035, allocations: 192 / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.4035, allocations: 7.938 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.4035, allocations: 0 / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.293e-05/0.4036, allocations: 7.984 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001772/0.4037, allocations: 157.6 kB / 1.07 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.838e-05/0.4038, allocations: 30.58 kB / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.816e-05/0.4039, allocations: 16.98 kB / 1.07 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.819e-06/0.4039, allocations: 0 / 1.07 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001969/0.4041, allocations: 59.34 kB / 1.07 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.562e-06/0.4041, allocations: 0 / 1.07 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.0002516/0.4044, allocations: 77.61 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.4044, allocations: 51.41 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.786e-05/0.4045, allocations: 109.8 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.4045, allocations: 25.7 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.19e-05/0.4046, allocations: 88.12 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.4046, allocations: 15.75 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.27e-05/0.4047, allocations: 21.7 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.4048, allocations: 322.8 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.948e-05/0.4048, allocations: 11.92 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.491e-05/0.4049, allocations: 40.3 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.405e-05/0.405, allocations: 56.22 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.405, allocations: 0 / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001286/0.4051, allocations: 77.56 kB / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.4051, allocations: 11.88 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.4052, allocations: 0 / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.4052, allocations: 4 kB / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.018e-05/0.4053, allocations: 15.98 kB / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.4053, allocations: 0 / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.583e-05/0.4053, allocations: 8.406 kB / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.4053, allocations: 0 / 1.071 GB, free: 6.684 MB / 0.8262 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 9.163e-05/0.4054, allocations: 119.5 kB / 1.071 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.698e-05/0.4055, allocations: 11.88 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.634e-05/0.4055, allocations: 3.562 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.4055, allocations: 0 / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.4055, allocations: 4 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.4055, allocations: 3.984 kB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.4057, allocations: 157.7 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4057, allocations: 0 / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.905e-05/0.4057, allocations: 0 / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.4057, allocations: 7.984 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.4057, allocations: 11.92 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4057, allocations: 0 / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4057, allocations: 0 / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.4059, allocations: 93.02 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.976e-05/0.4059, allocations: 81.11 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.406, allocations: 3.938 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.483e-05/0.406, allocations: 0 / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.123e-05/0.406, allocations: 7.984 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.406, allocations: 11.94 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.984e-05/0.4061, allocations: 79.28 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4061, allocations: 0 / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002879/0.4064, allocations: 39.98 kB / 1.072 GB, free: 5.965 MB / 0.8262 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.0003808/0.4068, allocations: 158 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001344/0.4069, allocations: 39.92 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.4069, allocations: 0 / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.929e-05/0.407, allocations: 20 kB / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.4072, allocations: 0 / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003248/0.4075, allocations: 122.6 kB / 1.072 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.4078, allocations: 0.6812 MB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.798e-05/0.4079, allocations: 4 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.903e-05/0.4079, allocations: 11.44 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.4079, allocations: 3.938 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of Templates: time 0.003825/0.4117, allocations: 1.074 MB / 1.074 GB, free: 3.805 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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