Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 106.8 kB / 16.41 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 185.6 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.374/2.374, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001313, allocations: 63.84 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8191/0.8205, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.00278/0.8233, allocations: 1.502 MB / 1.169 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001382/0.8247, allocations: 0.7206 MB / 1.169 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.22e-05/0.8248, allocations: 0 / 1.169 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.329e-05/0.8248, allocations: 3.938 kB / 1.169 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.153e-05/0.8249, allocations: 11.86 kB / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006184/0.8255, allocations: 131.5 kB / 1.17 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.8257, allocations: 67.78 kB / 1.17 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.674e-05/0.8258, allocations: 8 kB / 1.17 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.218e-05/0.8259, allocations: 35.84 kB / 1.17 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.825e-05/0.8259, allocations: 35.83 kB / 1.17 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.678e-05/0.826, allocations: 8 kB / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001943/0.8262, allocations: 91.91 kB / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.582e-05/0.8262, allocations: 19.98 kB / 1.17 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.558e-05/0.8263, allocations: 31.8 kB / 1.17 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.8265, allocations: 139.4 kB / 1.17 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.8265, allocations: 4 kB / 1.17 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.582e-06/0.8265, allocations: 0 / 1.17 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.8265, allocations: 3.938 kB / 1.17 GB, free: 1.059 MB / 0.8887 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.0006285/0.8272, allocations: 432.5 kB / 1.17 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.8272, allocations: 12.03 kB / 1.17 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.806e-05/0.8273, allocations: 8.844 kB / 1.17 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.8274, allocations: 176.2 kB / 1.171 GB, free: 356 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.649e-05/0.8275, allocations: 8.375 kB / 1.171 GB, free: 348 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.8275, allocations: 4.375 kB / 1.171 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.8277, allocations: 77.89 kB / 1.171 GB, free: 260 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.8277, allocations: 3.984 kB / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.8278, allocations: 4 kB / 1.171 GB, free: 252 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.8278, allocations: 0 / 1.171 GB, free: 252 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.8279, allocations: 35.97 kB / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005266/0.8284, allocations: 296.8 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.8286, allocations: 50.5 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.623e-05/0.8287, allocations: 32.91 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.8287, allocations: 4 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.829, allocations: 79.38 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.829, allocations: 0 / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0004052/0.8294, allocations: 141.6 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.8294, allocations: 55.34 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.8295, allocations: 125.7 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.8296, allocations: 29.7 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.147e-05/0.8296, allocations: 92.14 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.8297, allocations: 11.81 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/0.8297, allocations: 25.7 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.8298, allocations: 326.8 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.604e-05/0.8299, allocations: 23.98 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.761e-05/0.83, allocations: 57.14 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.8302, allocations: 89.06 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.8302, allocations: 4 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002387/0.8305, allocations: 113.4 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.8305, allocations: 10.5 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.8305, allocations: 0 / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.8305, allocations: 0 / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.754e-05/0.8306, allocations: 19.92 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.8306, allocations: 0 / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.917e-05/0.8307, allocations: 20.09 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.8307, allocations: 4 kB / 1.172 GB, free: 14.46 MB / 0.9044 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.929e-05/0.8308, allocations: 125.7 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.8308, allocations: 11.89 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.412e-05/0.8309, allocations: 12.31 kB / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.8309, allocations: 0 / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.8309, allocations: 3.938 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.8309, allocations: 0 / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004491/0.8314, allocations: 378.5 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.8314, allocations: 0 / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.086e-05/0.8314, allocations: 4 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.8314, allocations: 3.984 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.8314, allocations: 8 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.8314, allocations: 3.938 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.8315, allocations: 3.938 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002906/0.8317, allocations: 207.8 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.62e-05/0.8318, allocations: 88.95 kB / 1.173 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.8318, allocations: 0 / 1.173 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.181e-05/0.8319, allocations: 4 kB / 1.173 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.832, allocations: 11.92 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.832, allocations: 4 kB / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.71e-05/0.832, allocations: 91.92 kB / 1.173 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.832, allocations: 0 / 1.173 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003018/0.8324, allocations: 43.98 kB / 1.173 GB, free: 13.38 MB / 0.9044 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.0003384/0.8327, allocations: 157.1 kB / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002319/0.8329, allocations: 83.77 kB / 1.173 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.833, allocations: 8.25 kB / 1.173 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.8331, allocations: 31.98 kB / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.8333, allocations: 14.05 kB / 1.174 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004429/0.8338, allocations: 214.5 kB / 1.174 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.8341, allocations: 0.6846 MB / 1.174 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.315e-05/0.8341, allocations: 19.42 kB / 1.174 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of SimCode: time 5.71e-07/0.8341, allocations: 0 / 1.174 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of Templates: time 0.003726/0.8379, allocations: 1.591 MB / 1.176 GB, free: 10.54 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches