Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_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.001695/0.001695, allocations: 111.2 kB / 16.42 MB, free: 6.461 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.001927/0.001927, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.328/1.328, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.432/2.432, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 60.09 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7358/0.737, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002467/0.7395, allocations: 1.206 MB / 1.168 GB, free: 2.629 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0007746/0.7403, allocations: 385.2 kB / 1.169 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.448e-05/0.7404, allocations: 4 kB / 1.169 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.978e-05/0.7404, allocations: 3.938 kB / 1.169 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.261e-05/0.7405, allocations: 3.984 kB / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005115/0.741, allocations: 91.66 kB / 1.169 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.396e-05/0.741, allocations: 11.98 kB / 1.169 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.272e-05/0.7411, allocations: 4 kB / 1.169 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.953e-05/0.7411, allocations: 8 kB / 1.169 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.217e-05/0.7412, allocations: 15.91 kB / 1.169 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.7412, allocations: 0 / 1.169 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.7414, allocations: 99.78 kB / 1.169 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.671e-05/0.7414, allocations: 3.984 kB / 1.169 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.887e-05/0.7414, allocations: 8 kB / 1.169 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.7416, allocations: 75.83 kB / 1.169 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.7416, allocations: 4 kB / 1.169 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7416, allocations: 0 / 1.169 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.229e-06/0.7416, allocations: 0 / 1.169 GB, free: 1.926 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.0004837/0.7421, allocations: 373.3 kB / 1.169 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.7422, allocations: 8.625 kB / 1.169 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.928e-05/0.7422, allocations: 4.938 kB / 1.17 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.7424, allocations: 168.1 kB / 1.17 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.7424, allocations: 4.312 kB / 1.17 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.7424, allocations: 4.375 kB / 1.17 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.7425, allocations: 42.19 kB / 1.17 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.7425, allocations: 192 / 1.17 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.7425, allocations: 3.938 kB / 1.17 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.7426, allocations: 7.984 kB / 1.17 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.104e-05/0.7426, allocations: 7.984 kB / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002041/0.7428, allocations: 161.7 kB / 1.17 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.9e-05/0.7429, allocations: 26.58 kB / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.158e-05/0.7429, allocations: 16.92 kB / 1.17 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 5.831e-06/0.7429, allocations: 0 / 1.17 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001245/0.7431, allocations: 55.41 kB / 1.17 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/0.7431, allocations: 0 / 1.17 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0001888/0.7433, allocations: 69.61 kB / 1.17 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.7433, allocations: 51.41 kB / 1.17 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.689e-05/0.7434, allocations: 101.8 kB / 1.17 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.7434, allocations: 29.64 kB / 1.17 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.806e-05/0.7434, allocations: 80.27 kB / 1.17 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.7435, allocations: 15.91 kB / 1.17 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-05/0.7435, allocations: 17.72 kB / 1.17 GB, free: 500 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.7436, allocations: 314.8 kB / 1.171 GB, free: 176 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.915e-05/0.7437, allocations: 8 kB / 1.171 GB, free: 168 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.469e-05/0.7437, allocations: 31.42 kB / 1.171 GB, free: 124 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.89e-05/0.7438, allocations: 51.38 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.7438, allocations: 0 / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001194/0.7439, allocations: 65.53 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.7439, allocations: 8 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.7439, allocations: 3.938 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.7439, allocations: 4 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.194e-05/0.744, allocations: 8.078 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.744, allocations: 11.88 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.297e-05/0.744, allocations: 4 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.7441, allocations: 4 kB / 1.171 GB, free: 15.95 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 6.716e-05/0.7441, allocations: 109.8 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.7442, allocations: 4 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.363e-05/0.7442, allocations: 11.38 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.7442, allocations: 3.984 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.7442, allocations: 0 / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.166e-05/0.7442, allocations: 82.94 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.7443, allocations: 4 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.489e-05/0.7443, allocations: 8 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.933e-05/0.7443, allocations: 0 / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000136/0.7445, allocations: 137.1 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001687/0.7446, allocations: 238.7 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.236e-05/0.7447, allocations: 8 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.115e-05/0.7447, allocations: 83.28 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of Backend: time 2.7e-07/0.7447, allocations: 0 / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005933/0.7453, allocations: 154.7 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004004/0.7457, allocations: 0.5412 MB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of Templates: time 0.003169/0.7489, allocations: 0.9931 MB / 1.173 GB, free: 13.48 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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