Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.0009104/0.0009104, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0009317/0.0009317, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.954/0.954, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.671/1.671, allocations: 359 MB / 0.6037 GB, free: 11.1 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: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.494e-06/2.494e-06, allocations: 0 / 0.9505 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.366e-05/2.616e-05, allocations: 5.516 kB / 0.9505 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002496/0.002522, allocations: 1.498 MB / 0.9519 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008845/0.003406, allocations: 0.7638 MB / 0.9527 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.314e-05/0.00346, allocations: 7.938 kB / 0.9527 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.805e-05/0.003488, allocations: 3.938 kB / 0.9527 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.29e-05/0.00353, allocations: 7.875 kB / 0.9527 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004899/0.00402, allocations: 143.4 kB / 0.9528 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.004123, allocations: 83.69 kB / 0.9529 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 7.571e-05/0.004198, allocations: 4.188 kB / 0.9529 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.004312, allocations: 55.88 kB / 0.953 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.219e-05/0.004354, allocations: 23.97 kB / 0.953 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.004368, allocations: 4 kB / 0.953 GB, free: 0.9062 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001967/0.004565, allocations: 143.6 kB / 0.9531 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.004583, allocations: 11.92 kB / 0.9531 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.149e-05/0.004615, allocations: 23.97 kB / 0.9532 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.004803, allocations: 159.5 kB / 0.9533 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.004807, allocations: 3.938 kB / 0.9533 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.51e-07/0.004807, allocations: 4 kB / 0.9533 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.004813, allocations: 4 kB / 0.9533 GB, free: 0.5625 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004423/0.005255, allocations: 373.2 kB / 0.9537 GB, free: 160 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.005289, allocations: 12.03 kB / 0.9537 GB, free: 148 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.79e-05/0.005317, allocations: 42.67 kB / 0.9537 GB, free: 96 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/0.005455, allocations: 24.88 kB / 0.9538 GB, free: 72 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.00562, allocations: 121.7 kB / 0.9539 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.005638, allocations: 384 / 0.9539 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.00565, allocations: 12.38 kB / 0.9539 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.005776, allocations: 70.2 kB / 0.954 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.005783, allocations: 192 / 0.954 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.005794, allocations: 3.938 kB / 0.954 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.005798, allocations: 0 / 0.954 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.216e-05/0.00587, allocations: 35.97 kB / 0.954 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003117/0.006182, allocations: 267.8 kB / 0.9543 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 7.76e-05/0.006259, allocations: 46.5 kB / 0.9543 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.596e-05/0.006305, allocations: 28.97 kB / 0.9543 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.006323, allocations: 7.984 kB / 0.9543 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001007/0.006424, allocations: 79.31 kB / 0.9544 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.006425, allocations: 0 / 0.9544 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.000251/0.006676, allocations: 141.6 kB / 0.9545 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.006707, allocations: 51.41 kB / 0.9546 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.845e-05/0.006775, allocations: 124.9 kB / 0.9547 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.006788, allocations: 37.7 kB / 0.9547 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.457e-05/0.006823, allocations: 84.14 kB / 0.9548 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.6e-05/0.006839, allocations: 23.95 kB / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.00687, allocations: 25.66 kB / 0.9549 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.125e-05/0.006941, allocations: 326.8 kB / 0.9552 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.388e-05/0.006985, allocations: 23.98 kB / 0.9552 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.357e-05/0.007038, allocations: 61.08 kB / 0.9553 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.771e-05/0.007136, allocations: 93.06 kB / 0.9554 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.007138, allocations: 4 kB / 0.9554 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001215/0.007259, allocations: 109.5 kB / 0.9555 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.00727, allocations: 8 kB / 0.9555 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.007274, allocations: 0 / 0.9555 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.007286, allocations: 8.156 kB / 0.9555 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.738e-05/0.007334, allocations: 11.98 kB / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.007341, allocations: 7.938 kB / 0.9555 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.237e-05/0.007373, allocations: 15.89 kB / 0.9555 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.617e-06/0.007382, allocations: 7.938 kB / 0.9555 GB, free: 14.07 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.pDown,$PRE.bli.pDown,occ.y,bli.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.132e-05/0.007443, allocations: 124.4 kB / 0.9556 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.476e-06/0.007452, allocations: 7.953 kB / 0.9556 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.137e-05/0.007473, allocations: 12.44 kB / 0.9557 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.007475, allocations: 0 / 0.9557 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.007478, allocations: 4 kB / 0.9557 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.007481, allocations: 0 / 0.9557 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002638/0.007744, allocations: 345.8 kB / 0.956 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.007745, allocations: 0 / 0.956 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.568e-05/0.007761, allocations: 4 kB / 0.956 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.007762, allocations: 0 / 0.956 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.007771, allocations: 3.984 kB / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.007771, allocations: 0 / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.007772, allocations: 80 / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/0.007931, allocations: 231.2 kB / 0.9562 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.825e-06/0.007939, allocations: 7.953 kB / 0.9562 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.007951, allocations: 3.984 kB / 0.9562 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.105e-05/0.007992, allocations: 4 kB / 0.9562 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-05/0.008023, allocations: 3.984 kB / 0.9562 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.00803, allocations: 11.94 kB / 0.9563 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.279e-05/0.008062, allocations: 95.27 kB / 0.9563 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.1e-08/0.008063, allocations: 0 / 0.9563 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001969/0.008259, allocations: 39.88 kB / 0.9564 GB, free: 13.12 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: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004955/0.008755, allocations: 0.8121 MB / 0.9572 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001408/0.008896, allocations: 71.83 kB / 0.9572 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.008897, allocations: 0 / 0.9572 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.379e-05/0.008951, allocations: 36.28 kB / 0.9573 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001809/0.009132, allocations: 21.47 kB / 0.9573 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009733/0.01011, allocations: 1.494 MB / 0.9588 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.456e-05/0.01015, allocations: 79.89 kB / 0.9588 GB, free: 10.47 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.38e-05/0.01017, allocations: 4 kB / 0.9588 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.01021, allocations: 20.48 kB / 0.9589 GB, free: 10.45 MB / 0.9167 GB Notification: Performance of SimCode: time 4.71e-07/0.01021, allocations: 0 / 0.9589 GB, free: 10.45 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01457/0.02478, allocations: 3.396 MB / 0.9622 GB, free: 7.191 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.113/7.138, allocations: 12.14 kB / 0.9622 GB, free: 7.184 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable bli.TOut in file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv. Warning: Get data of variable bli.TOut from file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv failed! Error: Could not read variable bli.occ in file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv. Warning: Get data of variable bli.occ from file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.290305082686245]