Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Newsham1994BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 98.72 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 182.4 kB / 16.92 MB, free: 6.918 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.348/1.348, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.359/2.359, allocations: 390.9 MB / 0.667 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003735/0.0003736, allocations: 8 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7733/0.7736, allocations: 142.4 MB / 0.9557 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.001634/0.7753, allocations: 1.182 MB / 0.9569 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006521/0.776, allocations: 438.7 kB / 0.9573 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.441e-05/0.7761, allocations: 1.219 kB / 0.9573 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.127e-05/0.7761, allocations: 7.984 kB / 0.9573 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.613e-05/0.7762, allocations: 13.05 kB / 0.9573 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.7764, allocations: 20.89 kB / 0.9573 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.873e-05/0.7765, allocations: 43.92 kB / 0.9574 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.7766, allocations: 9.281 kB / 0.9574 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.406e-05/0.7767, allocations: 19.67 kB / 0.9574 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.198e-05/0.7768, allocations: 22.94 kB / 0.9574 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.7768, allocations: 5.281 kB / 0.9574 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.142e-05/0.7768, allocations: 2.656 kB / 0.9574 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.443e-05/0.7768, allocations: 9.422 kB / 0.9574 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.389e-05/0.7769, allocations: 49.38 kB / 0.9575 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.135e-05/0.777, allocations: 24.98 kB / 0.9575 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.777, allocations: 1.531 kB / 0.9575 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.454e-06/0.777, allocations: 0 / 0.9575 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.777, allocations: 3.938 kB / 0.9575 GB, free: 6.332 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004447/0.7775, allocations: 408.9 kB / 0.9579 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.7775, allocations: 9.906 kB / 0.9579 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.104e-05/0.7776, allocations: 3.344 kB / 0.9579 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.277e-05/0.7777, allocations: 179.2 kB / 0.9581 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.7777, allocations: 2.438 kB / 0.9581 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.7777, allocations: 6.531 kB / 0.9581 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.7779, allocations: 66.36 kB / 0.9582 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.7779, allocations: 5.062 kB / 0.9582 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.7779, allocations: 4 kB / 0.9582 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.7779, allocations: 1.594 kB / 0.9582 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.7781, allocations: 42.09 kB / 0.9582 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003806/0.7785, allocations: 286.8 kB / 0.9585 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.7786, allocations: 41.03 kB / 0.9585 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.86e-05/0.7787, allocations: 34.83 kB / 0.9585 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.7787, allocations: 7.938 kB / 0.9586 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/0.7789, allocations: 81.09 kB / 0.9586 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.442e-06/0.7789, allocations: 0 / 0.9586 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0003605/0.7793, allocations: 122.9 kB / 0.9588 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.7793, allocations: 53.19 kB / 0.9588 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.607e-05/0.7794, allocations: 118.3 kB / 0.9589 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.978e-06/0.7794, allocations: 25.7 kB / 0.9589 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.168e-05/0.7794, allocations: 95.64 kB / 0.959 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.527e-05/0.7795, allocations: 13.61 kB / 0.959 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-05/0.7795, allocations: 15.5 kB / 0.9591 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.79e-05/0.7795, allocations: 320.6 kB / 0.9594 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.311e-05/0.7796, allocations: 21.08 kB / 0.9594 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.108e-05/0.7797, allocations: 55.06 kB / 0.9594 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.7798, allocations: 78.2 kB / 0.9595 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.7798, allocations: 0 / 0.9595 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001908/0.78, allocations: 98.86 kB / 0.9596 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.7801, allocations: 5.312 kB / 0.9596 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.7801, allocations: 1.531 kB / 0.9596 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.7801, allocations: 5.188 kB / 0.9596 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.377e-05/0.7802, allocations: 11.89 kB / 0.9596 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.7802, allocations: 1.75 kB / 0.9596 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.611e-05/0.7803, allocations: 5.906 kB / 0.9596 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.7803, allocations: 2.438 kB / 0.9596 GB, free: 4.25 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (bli.blindState,$PRE.bli.blindState,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 (7): * Single equations (assignments): 7 * 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.047e-05/0.7804, allocations: 123 kB / 0.9598 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.181e-05/0.7804, allocations: 5.531 kB / 0.9598 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.617e-05/0.7804, allocations: 13.28 kB / 0.9598 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.7804, allocations: 1.406 kB / 0.9598 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.7804, allocations: 3.938 kB / 0.9598 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.7804, allocations: 384 / 0.9598 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003282/0.7808, allocations: 348.8 kB / 0.9601 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.7808, allocations: 4 kB / 0.9601 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.89e-05/0.7808, allocations: 13.08 kB / 0.9601 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.7808, allocations: 4.25 kB / 0.9601 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.7808, allocations: 1.125 kB / 0.9601 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.7808, allocations: 4 kB / 0.9601 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.7809, allocations: 5 kB / 0.9601 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.7811, allocations: 197.2 kB / 0.9603 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.179e-05/0.7811, allocations: 79.83 kB / 0.9604 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.7811, allocations: 0 / 0.9604 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.258e-05/0.7812, allocations: 10.92 kB / 0.9604 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/0.7813, allocations: 13.12 kB / 0.9604 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.7813, allocations: 10.45 kB / 0.9604 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.087e-05/0.7813, allocations: 86.72 kB / 0.9605 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7813, allocations: 0 / 0.9605 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002332/0.7816, allocations: 8.938 kB / 0.9605 GB, free: 3.375 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 8.702e-05/0.7817, allocations: 100.9 kB / 0.9606 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002025/0.7819, allocations: 66.72 kB / 0.9607 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7819, allocations: 0 / 0.9607 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.407e-05/0.782, allocations: 35.67 kB / 0.9607 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.7822, allocations: 5.859 kB / 0.9607 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003493/0.7826, allocations: 217.2 kB / 0.9609 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.7827, allocations: 0.6858 MB / 0.9616 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/0.7827, allocations: 10.31 kB / 0.9616 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.7827, allocations: 0 / 0.9616 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of Templates: time 0.001899/0.7846, allocations: 0.7392 MB / 0.9623 GB, free: 1.957 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches