Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008112/0.0008112, allocations: 72.55 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007861/0.0007861, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8347/0.8347, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.601/1.601, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.9517 GB, free: 3.027 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.506e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.023 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001632/0.001657, allocations: 1.228 MB / 0.9529 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007358/0.002393, allocations: 374.6 kB / 0.9532 GB, free: 1.41 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.142e-05/0.002424, allocations: 0 / 0.9532 GB, free: 1.41 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.274e-05/0.002447, allocations: 0 / 0.9532 GB, free: 1.41 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.466e-05/0.002492, allocations: 0 / 0.9532 GB, free: 1.41 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006226/0.003114, allocations: 103.6 kB / 0.9533 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.756e-05/0.003192, allocations: 15.92 kB / 0.9534 GB, free: 1.293 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.093e-05/0.003233, allocations: 3.938 kB / 0.9534 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.872e-05/0.003271, allocations: 15.97 kB / 0.9534 GB, free: 1.273 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.108e-05/0.003303, allocations: 7.984 kB / 0.9534 GB, free: 1.266 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.003317, allocations: 0 / 0.9534 GB, free: 1.266 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000195/0.003512, allocations: 119.8 kB / 0.9535 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.003528, allocations: 7.984 kB / 0.9535 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.167e-05/0.00355, allocations: 3.938 kB / 0.9535 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.003719, allocations: 99.73 kB / 0.9536 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.003722, allocations: 0 / 0.9536 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.523e-06/0.003723, allocations: 7.938 kB / 0.9536 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.003727, allocations: 0 / 0.9536 GB, free: 1.031 MB / 0.9011 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.0003876/0.004115, allocations: 305.6 kB / 0.9539 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.004154, allocations: 8.031 kB / 0.9539 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.182e-05/0.004186, allocations: 0.9375 kB / 0.9539 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.269e-05/0.004258, allocations: 105.8 kB / 0.954 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.004279, allocations: 384 / 0.954 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.004291, allocations: 8.359 kB / 0.954 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.739e-05/0.004378, allocations: 38.25 kB / 0.9541 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-06/0.004385, allocations: 8.125 kB / 0.9541 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.004394, allocations: 384 / 0.9541 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.004398, allocations: 384 / 0.9541 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.253e-05/0.004421, allocations: 11.88 kB / 0.9541 GB, free: 500 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001079/0.004528, allocations: 105.3 kB / 0.9542 GB, free: 364 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 6.143e-05/0.00459, allocations: 23.19 kB / 0.9542 GB, free: 332 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.346e-05/0.004613, allocations: 16.98 kB / 0.9542 GB, free: 312 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.865e-06/0.004621, allocations: 0 / 0.9542 GB, free: 312 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001121/0.004733, allocations: 55.41 kB / 0.9543 GB, free: 244 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.004734, allocations: 4 kB / 0.9543 GB, free: 240 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4): time 0.0001626/0.004897, allocations: 73.56 kB / 0.9543 GB, free: 160 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.00493, allocations: 55.41 kB / 0.9544 GB, free: 92 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.337e-05/0.004994, allocations: 97.78 kB / 0.9545 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.005005, allocations: 33.7 kB / 0.9545 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 2.249e-05/0.005027, allocations: 80.14 kB / 0.9546 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.005045, allocations: 7.891 kB / 0.9546 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.132e-05/0.005076, allocations: 21.72 kB / 0.9546 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.526e-05/0.005151, allocations: 318.8 kB / 0.9549 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.52e-05/0.005167, allocations: 4 kB / 0.9549 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.761e-05/0.005194, allocations: 39.55 kB / 0.955 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.777e-05/0.005242, allocations: 47.38 kB / 0.955 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.005244, allocations: 0 / 0.955 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.212e-05/0.005316, allocations: 65.56 kB / 0.9551 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.005328, allocations: 8 kB / 0.9551 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.005334, allocations: 0 / 0.9551 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.005348, allocations: 4.234 kB / 0.9551 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.249e-05/0.00541, allocations: 12.08 kB / 0.9551 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.005417, allocations: 3.938 kB / 0.9551 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.649e-05/0.005433, allocations: 7.953 kB / 0.9551 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.00544, allocations: 4 kB / 0.9551 GB, free: 15.29 MB / 0.9167 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 5.706e-05/0.005497, allocations: 109.8 kB / 0.9552 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.454e-06/0.005505, allocations: 7.984 kB / 0.9552 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.266e-05/0.005527, allocations: 3.688 kB / 0.9552 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.005529, allocations: 3.938 kB / 0.9552 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.005533, allocations: 3.938 kB / 0.9552 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.005537, allocations: 7.875 kB / 0.9552 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.108e-05/0.005608, allocations: 113.3 kB / 0.9554 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.005609, allocations: 0 / 0.9554 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.752e-06/0.005616, allocations: 4 kB / 0.9554 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.005618, allocations: 0 / 0.9554 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.005624, allocations: 0 / 0.9554 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.005624, allocations: 0 / 0.9554 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.005625, allocations: 0 / 0.9554 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.938e-05/0.005715, allocations: 89.05 kB / 0.9554 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.442e-06/0.005721, allocations: 3.953 kB / 0.9555 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.005733, allocations: 3.984 kB / 0.9555 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.3e-05/0.005746, allocations: 0 / 0.9555 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.916e-05/0.005765, allocations: 8 kB / 0.9555 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.00577, allocations: 0 / 0.9555 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.469e-05/0.005795, allocations: 83.22 kB / 0.9555 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005795, allocations: 0 / 0.9555 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001678/0.005963, allocations: 39.8 kB / 0.9556 GB, free: 14.75 MB / 0.9167 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.0002673/0.00623, allocations: 165.6 kB / 0.9557 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 8.345e-05/0.006313, allocations: 28.08 kB / 0.9558 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.006315, allocations: 0 / 0.9558 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.181e-05/0.006337, allocations: 16.02 kB / 0.9558 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.862e-05/0.006436, allocations: 96 / 0.9558 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002045/0.00664, allocations: 138.5 kB / 0.9559 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.37e-05/0.006674, allocations: 59.36 kB / 0.956 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.54e-05/0.006689, allocations: 8.5 kB / 0.956 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of SimCode: time 5.81e-07/0.00669, allocations: 3.938 kB / 0.956 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of Templates: time 0.001977/0.008667, allocations: 1.173 MB / 0.9571 GB, free: 13.12 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.477633907459676]