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.0008736/0.0008736, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001106/0.001106, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9047/0.9047, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.686/1.686, allocations: 359 MB / 0.6037 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: "" <> 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.064e-06/2.064e-06, allocations: 0 / 0.9505 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/2.173e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002672/0.002693, allocations: 1.502 MB / 0.9519 GB, free: 1.996 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.00407, allocations: 0.7677 MB / 0.9527 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.714e-05/0.004127, allocations: 0 / 0.9527 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.334e-05/0.00416, allocations: 7.875 kB / 0.9527 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.212e-05/0.004232, allocations: 11.91 kB / 0.9527 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004867/0.004719, allocations: 147.3 kB / 0.9528 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.366e-05/0.004813, allocations: 79.7 kB / 0.9529 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 7.835e-05/0.004891, allocations: 4.188 kB / 0.9529 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.005002, allocations: 51.88 kB / 0.953 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.06e-05/0.005042, allocations: 19.97 kB / 0.953 GB, free: 0.9062 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.005059, allocations: 8 kB / 0.953 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002065/0.005266, allocations: 143.6 kB / 0.9531 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.08e-05/0.005286, allocations: 15.92 kB / 0.9532 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.332e-05/0.00532, allocations: 23.91 kB / 0.9532 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.005512, allocations: 167.5 kB / 0.9533 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.005514, allocations: 4 kB / 0.9533 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.472e-06/0.005515, allocations: 0 / 0.9533 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.005519, allocations: 0 / 0.9533 GB, free: 0.5508 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.0004218/0.005941, allocations: 377.2 kB / 0.9537 GB, free: 144 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.005974, allocations: 8.031 kB / 0.9537 GB, free: 136 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.881e-05/0.006003, allocations: 38.75 kB / 0.9537 GB, free: 88 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00014/0.006143, allocations: 20.88 kB / 0.9538 GB, free: 68 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.006303, allocations: 131.2 kB / 0.9539 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.006321, allocations: 4.375 kB / 0.9539 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.006331, allocations: 4.375 kB / 0.9539 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.006452, allocations: 70.22 kB / 0.954 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.006459, allocations: 192 / 0.954 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-06/0.006468, allocations: 3.938 kB / 0.954 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.006473, allocations: 4 kB / 0.954 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.052e-05/0.006543, allocations: 35.97 kB / 0.954 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002997/0.006843, allocations: 259.8 kB / 0.9543 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 7.956e-05/0.006923, allocations: 54.48 kB / 0.9543 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.548e-05/0.006968, allocations: 28.97 kB / 0.9543 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.006986, allocations: 4 kB / 0.9543 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001032/0.00709, allocations: 75.38 kB / 0.9544 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.007091, allocations: 0 / 0.9544 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002449/0.007335, allocations: 137.5 kB / 0.9545 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.007369, allocations: 55.41 kB / 0.9546 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.686e-05/0.007436, allocations: 134 kB / 0.9547 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.007463, allocations: 25.7 kB / 0.9547 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.832e-05/0.007501, allocations: 100.2 kB / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.335e-05/0.007515, allocations: 7.906 kB / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.259e-05/0.007547, allocations: 29.7 kB / 0.9549 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.966e-05/0.007617, allocations: 322.8 kB / 0.9552 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.872e-05/0.007656, allocations: 19.98 kB / 0.9552 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.605e-05/0.007712, allocations: 69.06 kB / 0.9553 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.353e-05/0.007805, allocations: 93.06 kB / 0.9554 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.007807, allocations: 0 / 0.9554 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001217/0.007929, allocations: 117.5 kB / 0.9555 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.007941, allocations: 7.984 kB / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.007946, allocations: 4.156 kB / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.007957, allocations: 4 kB / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.015e-05/0.008007, allocations: 12 kB / 0.9555 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.008013, allocations: 3.938 kB / 0.9555 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.865e-05/0.008051, allocations: 15.88 kB / 0.9555 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.008061, 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.614e-05/0.008127, allocations: 125.8 kB / 0.9556 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.426e-06/0.008135, allocations: 3.953 kB / 0.9556 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.237e-05/0.008158, allocations: 12.44 kB / 0.9557 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.00816, allocations: 7.984 kB / 0.9557 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.008163, allocations: 0 / 0.9557 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.008166, allocations: 0 / 0.9557 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.008438, allocations: 349.8 kB / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.008439, allocations: 0 / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.665e-05/0.008456, allocations: 7.984 kB / 0.956 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.008457, allocations: 0 / 0.956 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.008465, allocations: 3.938 kB / 0.956 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.008466, allocations: 0 / 0.956 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.008468, allocations: 4 kB / 0.956 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.008624, allocations: 219.3 kB / 0.9562 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.552e-06/0.00863, allocations: 3.953 kB / 0.9562 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.008642, allocations: 4 kB / 0.9562 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.973e-05/0.008682, allocations: 4 kB / 0.9562 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.008714, allocations: 7.984 kB / 0.9562 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.008721, allocations: 3.938 kB / 0.9562 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.408e-05/0.008755, allocations: 96.77 kB / 0.9563 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.008755, allocations: 0 / 0.9563 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002094/0.008965, allocations: 43.86 kB / 0.9564 GB, free: 13.11 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.0005313/0.009496, allocations: 0.8155 MB / 0.9572 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001512/0.009647, allocations: 71.83 kB / 0.9572 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.009649, allocations: 0 / 0.9572 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.333e-05/0.009702, allocations: 36.3 kB / 0.9573 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.009883, allocations: 14.11 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.001106/0.01099, allocations: 1.501 MB / 0.9588 GB, free: 10.56 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.48e-05/0.01103, allocations: 75.33 kB / 0.9588 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.858e-05/0.01106, allocations: 7.984 kB / 0.9588 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.132e-05/0.0111, allocations: 24.5 kB / 0.9589 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of SimCode: time 4.81e-07/0.0111, allocations: 0 / 0.9589 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01511/0.02622, allocations: 3.385 MB / 0.9622 GB, free: 7.188 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.937/6.963, allocations: 17.89 kB / 0.9622 GB, free: 7.176 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.926055373623967]