Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001395/0.001395, allocations: 109 kB / 16.41 MB, free: 6.488 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.001604/0.001604, allocations: 187 kB / 17.34 MB, free: 5.73 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.38/1.38, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.631/2.631, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 68.11 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7368/0.7381, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002536/0.7406, allocations: 1.483 MB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.7419, allocations: 0.7206 MB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.683e-05/0.7419, allocations: 3.938 kB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.02e-05/0.742, allocations: 7.938 kB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.333e-05/0.7421, allocations: 15.86 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005319/0.7426, allocations: 115.6 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.7427, allocations: 71.77 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.676e-05/0.7428, allocations: 11.95 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.761e-05/0.7429, allocations: 35.84 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.496e-05/0.743, allocations: 43.83 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.743, allocations: 4 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001971/0.7432, allocations: 95.84 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.487e-05/0.7432, allocations: 15.92 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.166e-05/0.7433, allocations: 31.86 kB / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.7435, allocations: 135.5 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.7435, allocations: 0 / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7435, allocations: 0 / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.7435, allocations: 0 / 1.211 GB, free: 10.84 MB / 0.9356 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.000602/0.7442, allocations: 448.5 kB / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.7442, allocations: 8.031 kB / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.265e-05/0.7442, allocations: 12.83 kB / 1.212 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.7444, allocations: 176.2 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.7444, allocations: 8.359 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.7444, allocations: 4.375 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.7446, allocations: 69.97 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.7446, allocations: 0 / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.7446, allocations: 0 / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.7447, allocations: 8 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.7448, allocations: 39.95 kB / 1.212 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000473/0.7453, allocations: 300.8 kB / 1.212 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.7454, allocations: 46.5 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.369e-05/0.7455, allocations: 36.97 kB / 1.212 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.7455, allocations: 0 / 1.212 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001866/0.7457, allocations: 75.38 kB / 1.212 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.7457, allocations: 0 / 1.212 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0004207/0.7462, allocations: 145.5 kB / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.7462, allocations: 55.41 kB / 1.212 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.984e-05/0.7463, allocations: 125.7 kB / 1.213 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.7464, allocations: 33.7 kB / 1.213 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.401e-05/0.7464, allocations: 84.14 kB / 1.213 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.7464, allocations: 15.81 kB / 1.213 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.094e-05/0.7465, allocations: 25.7 kB / 1.213 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.7466, allocations: 322.8 kB / 1.213 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.426e-05/0.7467, allocations: 23.98 kB / 1.213 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.516e-05/0.7468, allocations: 65.08 kB / 1.213 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.747, allocations: 97 kB / 1.213 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.747, allocations: 0 / 1.213 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002298/0.7472, allocations: 113.4 kB / 1.213 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.7472, allocations: 4 kB / 1.213 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.7472, allocations: 0 / 1.213 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.7473, allocations: 7.938 kB / 1.213 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.725e-05/0.7474, allocations: 16.14 kB / 1.213 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.7474, allocations: 4 kB / 1.213 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.333e-05/0.7474, allocations: 11.94 kB / 1.213 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.7475, allocations: 4 kB / 1.213 GB, free: 8.23 MB / 0.9356 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 9.03e-05/0.7476, allocations: 123.4 kB / 1.214 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.993e-05/0.7476, allocations: 11.89 kB / 1.214 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.604e-05/0.7476, allocations: 8.375 kB / 1.214 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.7476, allocations: 4 kB / 1.214 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.7476, allocations: 4 kB / 1.214 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.7476, allocations: 0 / 1.214 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004546/0.7481, allocations: 378.4 kB / 1.214 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.7481, allocations: 0 / 1.214 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.408e-05/0.7482, allocations: 7.984 kB / 1.214 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.7482, allocations: 0 / 1.214 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.7482, allocations: 0 / 1.214 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.7482, allocations: 0 / 1.214 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.7482, allocations: 3.938 kB / 1.214 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002918/0.7485, allocations: 215.8 kB / 1.214 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.708e-05/0.7486, allocations: 88.98 kB / 1.214 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.7486, allocations: 0 / 1.214 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.301e-05/0.7487, allocations: 4 kB / 1.214 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.7487, allocations: 15.92 kB / 1.214 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.7487, allocations: 0 / 1.214 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.359e-05/0.7488, allocations: 111.8 kB / 1.214 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7488, allocations: 3.938 kB / 1.214 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003104/0.7491, allocations: 39.98 kB / 1.214 GB, free: 7.129 MB / 0.9356 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.0003285/0.7495, allocations: 154 kB / 1.215 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000232/0.7497, allocations: 67.91 kB / 1.215 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.7497, allocations: 0 / 1.215 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.7498, allocations: 43.95 kB / 1.215 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.7501, allocations: 4 kB / 1.215 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004036/0.7505, allocations: 226.5 kB / 1.215 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.7508, allocations: 0.6849 MB / 1.216 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.953e-05/0.7508, allocations: 15.42 kB / 1.216 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.7508, allocations: 0 / 1.216 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of Templates: time 0.003407/0.7543, allocations: 1.575 MB / 1.217 GB, free: 4.316 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches