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.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.001266/0.001266, allocations: 108.9 kB / 16.46 MB, free: 6.508 MB / 14.72 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.001382/0.001382, allocations: 216.2 kB / 19.43 MB, free: 3.648 MB / 14.72 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 1.411/1.411, allocations: 230.6 MB / 252.8 MB, free: 9.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.12/3.12, allocations: 0.505 GB / 0.8066 GB, free: 23.05 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 72.27 kB / 1.172 GB, free: 17.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3572, allocations: 180.2 MB / 1.348 GB, free: 9.984 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002372/0.3596, allocations: 1.233 MB / 1.349 GB, free: 8.742 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0007857/0.3604, allocations: 379.2 kB / 1.349 GB, free: 8.371 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.431e-05/0.3604, allocations: 0 / 1.349 GB, free: 8.371 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 7.242e-05/0.3605, allocations: 0 / 1.349 GB, free: 8.371 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 1.585e-05/0.3605, allocations: 3.938 kB / 1.349 GB, free: 8.367 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004329/0.3609, allocations: 91.7 kB / 1.349 GB, free: 8.277 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.983e-05/0.361, allocations: 19.92 kB / 1.349 GB, free: 8.258 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.605e-05/0.361, allocations: 0 / 1.349 GB, free: 8.258 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.812e-05/0.3611, allocations: 15.92 kB / 1.349 GB, free: 8.242 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 2.714e-05/0.3611, allocations: 7.984 kB / 1.349 GB, free: 8.234 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.498e-06/0.3611, allocations: 0 / 1.349 GB, free: 8.234 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001917/0.3613, allocations: 99.89 kB / 1.35 GB, free: 8.137 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.281e-05/0.3613, allocations: 27.86 kB / 1.35 GB, free: 8.109 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.464e-05/0.3614, allocations: 27.69 kB / 1.35 GB, free: 8.082 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.3616, allocations: 115.8 kB / 1.35 GB, free: 7.969 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3616, allocations: 0 / 1.35 GB, free: 7.969 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3616, allocations: 0 / 1.35 GB, free: 7.969 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.3616, allocations: 0 / 1.35 GB, free: 7.969 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005219/0.3621, allocations: 445.5 kB / 1.35 GB, free: 7.473 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.3621, allocations: 11.98 kB / 1.35 GB, free: 7.461 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.324e-05/0.3622, allocations: 54.73 kB / 1.35 GB, free: 7.398 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.146e-05/0.3623, allocations: 16.83 kB / 1.35 GB, free: 7.383 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.3624, allocations: 172.2 kB / 1.35 GB, free: 7.176 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.3624, allocations: 4.375 kB / 1.35 GB, free: 7.172 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-06/0.3624, allocations: 384 / 1.35 GB, free: 7.172 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.3626, allocations: 150 kB / 1.351 GB, free: 7.02 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3626, allocations: 7.938 kB / 1.351 GB, free: 7.012 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.3626, allocations: 0 / 1.351 GB, free: 7.012 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3626, allocations: 3.938 kB / 1.351 GB, free: 7.008 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.461e-05/0.3627, allocations: 63.92 kB / 1.351 GB, free: 6.945 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003853/0.3631, allocations: 284.8 kB / 1.351 GB, free: 6.617 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.3632, allocations: 90.48 kB / 1.351 GB, free: 6.52 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.213e-05/0.3633, allocations: 68.91 kB / 1.351 GB, free: 6.449 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.3633, allocations: 0 / 1.351 GB, free: 6.449 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002569/0.3636, allocations: 187.3 kB / 1.351 GB, free: 6.254 MB / 1.045 GB Notification: Performance of pre-optimization done (n=38): time 1.082e-06/0.3636, allocations: 0 / 1.351 GB, free: 6.254 MB / 1.045 GB Notification: Performance of matching and sorting (n=38): time 0.0006588/0.3643, allocations: 489.2 kB / 1.352 GB, free: 5.773 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.697e-05/0.3643, allocations: 91.36 kB / 1.352 GB, free: 5.672 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.3644, allocations: 117.8 kB / 1.352 GB, free: 5.547 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.238e-05/0.3645, allocations: 53.69 kB / 1.352 GB, free: 5.488 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.272e-05/0.3645, allocations: 80.8 kB / 1.352 GB, free: 5.406 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.3646, allocations: 103.3 kB / 1.352 GB, free: 5.305 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.3647, allocations: 89.69 kB / 1.352 GB, free: 5.211 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.3649, allocations: 338.8 kB / 1.352 GB, free: 4.871 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.3651, allocations: 148.5 kB / 1.353 GB, free: 4.727 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002535/0.3654, allocations: 213 kB / 1.353 GB, free: 4.492 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004964/0.3659, allocations: 403.8 kB / 1.353 GB, free: 4.078 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.3659, allocations: 3.938 kB / 1.353 GB, free: 4.074 MB / 1.045 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005662/0.3664, allocations: 449 kB / 1.354 GB, free: 3.629 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.3664, allocations: 4 kB / 1.354 GB, free: 3.625 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.3665, allocations: 7.984 kB / 1.354 GB, free: 3.617 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.3665, allocations: 8.125 kB / 1.354 GB, free: 3.609 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.777e-05/0.3666, allocations: 19.88 kB / 1.354 GB, free: 3.59 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.3666, allocations: 7.938 kB / 1.354 GB, free: 3.582 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.499e-05/0.3667, allocations: 35.72 kB / 1.354 GB, free: 3.547 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.836e-05/0.3667, allocations: 12 kB / 1.354 GB, free: 3.535 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 71 (state[33],$PRE.state[33],state[32],$PRE.state[32],state[31],$PRE.state[31],state[30],$PRE.state[30],state[29],$PRE.state[29],state[28],$PRE.state[28],state[27],$PRE.state[27],state[26],$PRE.state[26],state[25],$PRE.state[25],state[24],$PRE.state[24],state[23],$PRE.state[23],state[22],$PRE.state[22],state[21],$PRE.state[21],state[20],$PRE.state[20],state[19],$PRE.state[19],state[18],$PRE.state[18],state[17],$PRE.state[17],state[16],$PRE.state[16],state[15],$PRE.state[15],state[14],$PRE.state[14],state[13],$PRE.state[13],state[12],$PRE.state[12],state[11],$PRE.state[11],state[10],$PRE.state[10],state[9],$PRE.state[9],state[8],$PRE.state[8],state[7],$PRE.state[7],state[6],$PRE.state[6],state[5],$PRE.state[5],state[4],$PRE.state[4],state[3],$PRE.state[3],state[2],$PRE.state[2],state[1],$PRE.state[1],r,$PRE.r,$whenCondition1,$outputAlias_y,$PRE.$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * Array equations: 1 * 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 0.0001914/0.3669, allocations: 185.6 kB / 1.354 GB, free: 3.348 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.743e-05/0.3669, allocations: 11.91 kB / 1.354 GB, free: 3.336 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.686e-05/0.3669, allocations: 9.219 kB / 1.354 GB, free: 3.328 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.3669, allocations: 0 / 1.354 GB, free: 3.328 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3669, allocations: 0 / 1.354 GB, free: 3.328 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.3669, allocations: 0 / 1.354 GB, free: 3.328 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006753/0.3676, allocations: 0.6229 MB / 1.355 GB, free: 2.648 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.3676, allocations: 3.984 kB / 1.355 GB, free: 2.645 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.038e-05/0.3676, allocations: 11.94 kB / 1.355 GB, free: 2.633 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3676, allocations: 0 / 1.355 GB, free: 2.633 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.3676, allocations: 0 / 1.355 GB, free: 2.633 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3676, allocations: 0 / 1.355 GB, free: 2.633 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3676, allocations: 0 / 1.355 GB, free: 2.633 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005103/0.3681, allocations: 483.1 kB / 1.355 GB, free: 2.145 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.711e-05/0.3682, allocations: 96.89 kB / 1.355 GB, free: 2.031 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.3682, allocations: 23.98 kB / 1.355 GB, free: 2.008 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.767e-05/0.3683, allocations: 4 kB / 1.355 GB, free: 2.004 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.857e-05/0.3683, allocations: 4 kB / 1.355 GB, free: 2 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.3683, allocations: 0 / 1.355 GB, free: 2 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.322e-05/0.3683, allocations: 83.27 kB / 1.355 GB, free: 1.918 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3683, allocations: 0 / 1.355 GB, free: 1.918 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003101/0.3687, allocations: 51.88 kB / 1.355 GB, free: 1.867 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition1,$outputAlias_y,state[1],state[2],state[3],state[4],state[5],state[6],state[7],state[8],state[9],state[10],state[11],state[12],state[13],state[14],state[15],state[16],state[17],state[18],state[19],state[20],state[21],state[22],state[23],state[24],state[25],state[26],state[27],state[28],state[29],state[30],state[31],state[32],state[33],r) * Number of discrete states: 33 (state[1],state[2],state[3],state[4],state[5],state[6],state[7],state[8],state[9],state[10],state[11],state[12],state[13],state[14],state[15],state[16],state[17],state[18],state[19],state[20],state[21],state[22],state[23],state[24],state[25],state[26],state[27],state[28],state[29],state[30],state[31],state[32],state[33]) * 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.001291/0.3699, allocations: 1.219 MB / 1.356 GB, free: 0.6328 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003914/0.3703, allocations: 276.8 kB / 1.357 GB, free: 372 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3703, allocations: 256 / 1.357 GB, free: 372 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.405e-05/0.3704, allocations: 79.92 kB / 1.357 GB, free: 292 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.3706, allocations: 1.719 kB / 1.357 GB, free: 292 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/0.3732, allocations: 2.504 MB / 1.359 GB, free: 13.67 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.3736, allocations: 0.7127 MB / 1.36 GB, free: 12.93 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.185e-05/0.3736, allocations: 17.08 kB / 1.36 GB, free: 12.91 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.634e-05/0.3737, allocations: 39.42 kB / 1.36 GB, free: 12.88 MB / 1.061 GB Notification: Performance of SimCode: time 4.21e-07/0.3737, allocations: 7.938 kB / 1.36 GB, free: 12.87 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02457/0.3983, allocations: 3.035 MB / 1.363 GB, free: 9.977 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.713/8.111, allocations: 15.09 kB / 1.363 GB, free: 9.965 MB / 1.061 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.csv","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.611355741042644]