Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 91.44 kB / 15.06 MB, free: 1.078 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.001164/0.001164, allocations: 176.7 kB / 15.95 MB, free: 192 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.474/1.474, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.916/2.916, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004447/0.0004449, allocations: 11.98 kB / 0.9021 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3949, allocations: 159.6 MB / 1.058 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001866/0.3968, allocations: 0.9276 MB / 1.059 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.398, allocations: 355.1 kB / 1.059 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.237e-05/0.3981, allocations: 0 / 1.059 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.747e-05/0.3982, allocations: 3.938 kB / 1.059 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.934e-05/0.3982, allocations: 0 / 1.059 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.3993, allocations: 71.86 kB / 1.059 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.3994, allocations: 19.91 kB / 1.059 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.871e-05/0.3995, allocations: 0 / 1.059 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.465e-05/0.3996, allocations: 8 kB / 1.059 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.248e-05/0.3996, allocations: 15.92 kB / 1.059 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.3997, allocations: 0 / 1.059 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002801/0.4, allocations: 79.86 kB / 1.059 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.705e-05/0.4, allocations: 3.984 kB / 1.059 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.332e-05/0.4001, allocations: 33.64 kB / 1.059 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.4003, allocations: 59.91 kB / 1.06 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.4003, allocations: 0 / 1.06 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.667e-06/0.4003, allocations: 0 / 1.06 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.4003, allocations: 0 / 1.06 GB, free: 3.711 MB / 0.8106 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.0007114/0.4011, allocations: 369 kB / 1.06 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.889e-05/0.4011, allocations: 8.031 kB / 1.06 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.961e-05/0.4012, allocations: 0 / 1.06 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.4014, allocations: 167.3 kB / 1.06 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.744e-05/0.4014, allocations: 4 kB / 1.06 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.4015, allocations: 11.94 kB / 1.06 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.4016, allocations: 33.69 kB / 1.06 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.4016, allocations: 0 / 1.06 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.4017, allocations: 0 / 1.06 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.4017, allocations: 4 kB / 1.06 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.985e-05/0.4017, allocations: 11.94 kB / 1.06 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002107/0.4019, allocations: 149.7 kB / 1.06 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.4021, allocations: 30.61 kB / 1.06 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.135e-05/0.4022, allocations: 12.86 kB / 1.06 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.4022, allocations: 3.953 kB / 1.06 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001974/0.4024, allocations: 63.47 kB / 1.06 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.4024, allocations: 0 / 1.06 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002693/0.4027, allocations: 69.53 kB / 1.06 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/0.4028, allocations: 55.39 kB / 1.06 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.4029, allocations: 93.86 kB / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.4029, allocations: 29.7 kB / 1.061 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.326e-05/0.403, allocations: 80.14 kB / 1.061 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.403, allocations: 12.03 kB / 1.061 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-06/0.403, allocations: 4 kB / 1.061 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.4031, allocations: 314.8 kB / 1.061 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.99e-05/0.4032, allocations: 4 kB / 1.061 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.033e-05/0.4032, allocations: 35.42 kB / 1.061 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.814e-05/0.4033, allocations: 11.94 kB / 1.061 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.4033, allocations: 11.94 kB / 1.061 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001167/0.4034, allocations: 65.58 kB / 1.061 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.4034, allocations: 8 kB / 1.061 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.4034, allocations: 0 / 1.061 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.4035, allocations: 0 / 1.061 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.455e-05/0.4036, allocations: 11.98 kB / 1.061 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.4036, allocations: 0 / 1.061 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.062e-05/0.4036, allocations: 11.84 kB / 1.061 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.4036, allocations: 0 / 1.061 GB, free: 1.82 MB / 0.8106 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 ($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 (7): * Single equations (assignments): 7 * 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.937e-05/0.4037, allocations: 121.9 kB / 1.061 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.02e-05/0.4038, allocations: 4.188 kB / 1.061 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.565e-05/0.4038, allocations: 7.484 kB / 1.061 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.4038, allocations: 4 kB / 1.061 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.4038, allocations: 0 / 1.061 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4038, allocations: 0 / 1.061 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.404, allocations: 161.6 kB / 1.061 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.404, allocations: 0 / 1.061 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.269e-05/0.404, allocations: 3.984 kB / 1.061 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.404, allocations: 4 kB / 1.061 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.404, allocations: 7.953 kB / 1.061 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.404, allocations: 0 / 1.061 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4041, allocations: 0 / 1.061 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.4042, allocations: 85.05 kB / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.165e-05/0.4043, allocations: 77.11 kB / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.4043, allocations: 0 / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.383e-05/0.4043, allocations: 3.953 kB / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.136e-05/0.4044, allocations: 12 kB / 1.062 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-06/0.4044, allocations: 0 / 1.062 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.831e-05/0.4044, allocations: 83.27 kB / 1.062 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4044, allocations: 0 / 1.062 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003249/0.4048, allocations: 24 kB / 1.062 GB, free: 1.137 MB / 0.8106 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 (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.0004674/0.4052, allocations: 169 kB / 1.062 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001366/0.4054, allocations: 27.92 kB / 1.062 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4054, allocations: 0 / 1.062 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.02e-05/0.4054, allocations: 12 kB / 1.062 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.4056, allocations: 3.984 kB / 1.062 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004568/0.4061, allocations: 112.8 kB / 1.062 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004686/0.4066, allocations: 0.6772 MB / 1.063 GB, free: 92 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.728e-05/0.4066, allocations: 3.984 kB / 1.063 GB, free: 88 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.426e-05/0.4066, allocations: 11.44 kB / 1.063 GB, free: 76 kB / 0.8106 GB Notification: Performance of SimCode: time 5.21e-07/0.4066, allocations: 0 / 1.063 GB, free: 76 kB / 0.8106 GB Notification: Performance of Templates: time 0.004083/0.4107, allocations: 0.9297 MB / 1.064 GB, free: 15.14 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:seed,t0,time,y