Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.0009174/0.0009174, 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.001088/0.001088, allocations: 170.3 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.912/0.912, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.632/1.632, allocations: 359 MB / 0.6037 GB, free: 11.08 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.Haldi2008BlindsTIn,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 0 / 0.9505 GB, free: 3.543 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.952e-05/2.224e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.535 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002735/0.002757, allocations: 1.51 MB / 0.9519 GB, free: 2.008 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.004028, allocations: 0.7639 MB / 0.9527 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.7e-05/0.004085, allocations: 0 / 0.9527 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.229e-05/0.004117, allocations: 3.938 kB / 0.9527 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.821e-05/0.004176, allocations: 19.8 kB / 0.9527 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006141/0.00479, allocations: 139.5 kB / 0.9528 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.004913, allocations: 71.66 kB / 0.9529 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.111e-05/0.005004, allocations: 12.17 kB / 0.9529 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.005151, allocations: 47.89 kB / 0.953 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.479e-05/0.005216, allocations: 35.89 kB / 0.953 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.005236, allocations: 4 kB / 0.953 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000245/0.005481, allocations: 135.6 kB / 0.9531 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.441e-05/0.005505, allocations: 19.97 kB / 0.9531 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.004e-05/0.005545, allocations: 19.92 kB / 0.9532 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.005792, allocations: 159.6 kB / 0.9533 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.005794, allocations: 0 / 0.9533 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.192e-06/0.005795, allocations: 0 / 0.9533 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.0058, allocations: 0 / 0.9533 GB, free: 0.582 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.0005553/0.006355, allocations: 381.2 kB / 0.9537 GB, free: 172 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.006398, allocations: 19.97 kB / 0.9537 GB, free: 152 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.737e-05/0.006435, allocations: 30.75 kB / 0.9537 GB, free: 112 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002115/0.006647, allocations: 20.88 kB / 0.9538 GB, free: 92 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.006844, allocations: 133.6 kB / 0.9539 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.006869, allocations: 8.375 kB / 0.9539 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.006884, allocations: 4.375 kB / 0.9539 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.007068, allocations: 62.22 kB / 0.954 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.007077, allocations: 4.188 kB / 0.954 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.007097, allocations: 11.88 kB / 0.954 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.007103, allocations: 8 kB / 0.954 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.007223, allocations: 35.97 kB / 0.954 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004222/0.007645, allocations: 255.9 kB / 0.9543 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.007775, allocations: 50.44 kB / 0.9543 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.245e-05/0.007847, allocations: 32.97 kB / 0.9543 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.007868, allocations: 0 / 0.9543 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001546/0.008023, allocations: 83.38 kB / 0.9544 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.008025, allocations: 0 / 0.9544 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0004569/0.008481, allocations: 137.6 kB / 0.9545 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.008522, allocations: 59.39 kB / 0.9546 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.258e-05/0.008615, allocations: 125.2 kB / 0.9547 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.008631, allocations: 25.7 kB / 0.9547 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.937e-05/0.008681, allocations: 92.12 kB / 0.9548 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.008701, allocations: 15.91 kB / 0.9548 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-05/0.008751, allocations: 29.7 kB / 0.9549 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.008858, allocations: 322.8 kB / 0.9552 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.779e-05/0.008926, allocations: 23.98 kB / 0.9552 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.82e-05/0.009014, allocations: 61.12 kB / 0.9553 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.009126, allocations: 93 kB / 0.9554 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.009129, allocations: 0 / 0.9554 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001371/0.009266, allocations: 117.5 kB / 0.9555 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.009283, allocations: 8 kB / 0.9555 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.009288, allocations: 0 / 0.9555 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.009305, allocations: 4 kB / 0.9555 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.268e-05/0.009368, allocations: 8 kB / 0.9555 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.009377, allocations: 8.297 kB / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.523e-05/0.009412, allocations: 12.05 kB / 0.9555 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.009426, allocations: 8 kB / 0.9555 GB, free: 14.09 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 8.191e-05/0.009508, allocations: 129.7 kB / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.136e-05/0.009519, allocations: 7.953 kB / 0.9556 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.829e-05/0.009548, allocations: 8.422 kB / 0.9556 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.009551, allocations: 4 kB / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.009556, allocations: 0 / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.009561, allocations: 7.969 kB / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003294/0.00989, allocations: 349.5 kB / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.009891, allocations: 4 kB / 0.956 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.99e-05/0.009921, allocations: 7.984 kB / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.009923, allocations: 0 / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.009933, allocations: 4 kB / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.009934, allocations: 0 / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.009935, allocations: 0 / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.01011, allocations: 211.4 kB / 0.9562 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.507e-06/0.01012, allocations: 7.953 kB / 0.9562 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.01013, allocations: 0 / 0.9562 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.739e-05/0.01018, allocations: 15.98 kB / 0.9562 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.01021, allocations: 4 kB / 0.9562 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.01022, allocations: 11.92 kB / 0.9562 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.003e-05/0.01026, allocations: 95.22 kB / 0.9563 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01026, allocations: 0 / 0.9563 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002059/0.01047, allocations: 43.86 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.0005781/0.01104, allocations: 0.8093 MB / 0.9572 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001526/0.0112, allocations: 63.91 kB / 0.9572 GB, free: 12.24 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.0112, allocations: 7.938 kB / 0.9572 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.616e-05/0.01125, allocations: 35.84 kB / 0.9573 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.01145, allocations: 11.94 kB / 0.9573 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.01262, allocations: 1.507 MB / 0.9588 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.883e-05/0.01268, allocations: 67.34 kB / 0.9588 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.482e-05/0.01272, allocations: 7.984 kB / 0.9588 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.669e-05/0.01276, allocations: 28.44 kB / 0.9589 GB, free: 10.45 MB / 0.9167 GB Notification: Performance of SimCode: time 6.81e-07/0.01276, allocations: 0 / 0.9589 GB, free: 10.45 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01635/0.02911, allocations: 3.396 MB / 0.9622 GB, free: 7.199 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.973/7.002, allocations: 10.11 kB / 0.9622 GB, free: 7.191 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.fmu > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.972356682643294]