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.001629/0.001629, allocations: 110.2 kB / 16.39 MB, free: 6.438 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.001797/0.001797, allocations: 192.2 kB / 17.32 MB, free: 5.758 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.415/1.415, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.388/2.388, allocations: 442.7 MB / 0.7167 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 63.89 kB / 1.027 GB, free: 1.48 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6825/0.6838, allocations: 153 MB / 1.177 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002067/0.6859, allocations: 1.205 MB / 1.178 GB, free: 9.566 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0007379/0.6867, allocations: 382.8 kB / 1.178 GB, free: 9.191 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.259e-05/0.6867, allocations: 3.938 kB / 1.178 GB, free: 9.188 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 1.67e-05/0.6867, allocations: 0 / 1.178 GB, free: 9.188 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 2.751e-05/0.6868, allocations: 0 / 1.178 GB, free: 9.188 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005058/0.6873, allocations: 91.66 kB / 1.178 GB, free: 9.098 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 5.73e-05/0.6874, allocations: 12 kB / 1.178 GB, free: 9.086 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.213e-05/0.6874, allocations: 11.98 kB / 1.178 GB, free: 9.074 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 2.123e-05/0.6874, allocations: 11.92 kB / 1.178 GB, free: 9.062 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 2.743e-05/0.6875, allocations: 4 kB / 1.178 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.6875, allocations: 4 kB / 1.178 GB, free: 9.055 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001945/0.6877, allocations: 87.84 kB / 1.178 GB, free: 8.969 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.694e-05/0.6877, allocations: 7.984 kB / 1.178 GB, free: 8.961 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.238e-05/0.6877, allocations: 7.938 kB / 1.178 GB, free: 8.953 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.6879, allocations: 83.81 kB / 1.179 GB, free: 8.871 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.6879, allocations: 0 / 1.179 GB, free: 8.871 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6879, allocations: 0 / 1.179 GB, free: 8.871 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.6879, allocations: 0 / 1.179 GB, free: 8.871 MB / 0.9044 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.0004542/0.6884, allocations: 373.3 kB / 1.179 GB, free: 8.449 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.6885, allocations: 11.97 kB / 1.179 GB, free: 8.438 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.685e-05/0.6885, allocations: 8.844 kB / 1.179 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.587e-05/0.6886, allocations: 164.2 kB / 1.179 GB, free: 8.234 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.6886, allocations: 384 / 1.179 GB, free: 8.234 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.6886, allocations: 8.375 kB / 1.179 GB, free: 8.227 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.798e-05/0.6887, allocations: 38.23 kB / 1.179 GB, free: 8.184 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.6888, allocations: 192 / 1.179 GB, free: 8.184 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.6888, allocations: 7.938 kB / 1.179 GB, free: 8.176 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.6888, allocations: 3.984 kB / 1.179 GB, free: 8.172 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.009e-05/0.6888, allocations: 4 kB / 1.179 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001514/0.689, allocations: 153.7 kB / 1.179 GB, free: 7.969 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 8.405e-05/0.6891, allocations: 34.55 kB / 1.179 GB, free: 7.926 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.107e-05/0.6891, allocations: 12.86 kB / 1.179 GB, free: 7.91 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.6891, allocations: 0 / 1.179 GB, free: 7.91 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001364/0.6893, allocations: 59.48 kB / 1.179 GB, free: 7.84 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.6893, allocations: 0 / 1.179 GB, free: 7.84 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4): time 0.0002281/0.6895, allocations: 65.56 kB / 1.179 GB, free: 7.77 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.6896, allocations: 59.39 kB / 1.18 GB, free: 7.699 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.045e-05/0.6896, allocations: 93.86 kB / 1.18 GB, free: 7.598 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.6896, allocations: 25.7 kB / 1.18 GB, free: 7.566 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.202e-05/0.6897, allocations: 92.27 kB / 1.18 GB, free: 7.473 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.6897, allocations: 3.906 kB / 1.18 GB, free: 7.469 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.6898, allocations: 25.64 kB / 1.18 GB, free: 7.438 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.6899, allocations: 318.8 kB / 1.18 GB, free: 7.117 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.823e-05/0.6899, allocations: 7.938 kB / 1.18 GB, free: 7.109 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.262e-05/0.6899, allocations: 35.42 kB / 1.18 GB, free: 7.062 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.938e-05/0.69, allocations: 47.38 kB / 1.18 GB, free: 7.004 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.69, allocations: 0 / 1.18 GB, free: 7.004 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.772e-05/0.6901, allocations: 69.52 kB / 1.18 GB, free: 6.93 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.6901, allocations: 4 kB / 1.18 GB, free: 6.926 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.6901, allocations: 3.938 kB / 1.18 GB, free: 6.922 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.6902, allocations: 7.938 kB / 1.18 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.334e-05/0.6902, allocations: 12.09 kB / 1.18 GB, free: 6.902 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.6902, allocations: 4 kB / 1.18 GB, free: 6.898 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.363e-05/0.6903, allocations: 0 / 1.18 GB, free: 6.898 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.6903, allocations: 4 kB / 1.18 GB, free: 6.895 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.824e-05/0.6904, allocations: 109.8 kB / 1.18 GB, free: 6.777 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.6904, allocations: 7.984 kB / 1.18 GB, free: 6.77 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.045e-05/0.6904, allocations: 7.438 kB / 1.18 GB, free: 6.762 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.6904, allocations: 0 / 1.18 GB, free: 6.762 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.6904, allocations: 0 / 1.18 GB, free: 6.762 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.235e-05/0.6905, allocations: 86.84 kB / 1.18 GB, free: 6.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.6905, allocations: 4 kB / 1.18 GB, free: 6.656 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.406e-05/0.6905, allocations: 8 kB / 1.18 GB, free: 6.648 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.411e-05/0.6905, allocations: 3.984 kB / 1.18 GB, free: 6.645 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000127/0.6907, allocations: 137.1 kB / 1.181 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001612/0.6908, allocations: 234.8 kB / 1.181 GB, free: 6.258 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.203e-05/0.6909, allocations: 11.98 kB / 1.181 GB, free: 6.246 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.139e-05/0.6909, allocations: 83.22 kB / 1.181 GB, free: 6.164 MB / 0.9044 GB Notification: Performance of Backend: time 2.8e-07/0.6909, allocations: 4 kB / 1.181 GB, free: 6.16 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005409/0.6915, allocations: 149.9 kB / 1.181 GB, free: 6.02 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0003599/0.6919, allocations: 0.5482 MB / 1.182 GB, free: 5.426 MB / 0.9044 GB Notification: Performance of Templates: time 0.00329/0.6952, allocations: 0.9819 MB / 1.183 GB, free: 4.445 MB / 0.9044 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/jenkins1/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