Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.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.Inkarojrit2008BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.p|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.p|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 91.92 kB / 16.02 MB, free: 80 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.001356/0.001356, allocations: 177.3 kB / 16.92 MB, free: 6.652 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.293 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.368/2.368, allocations: 390.9 MB / 0.667 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003709/0.0003709, allocations: 12 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6996/0.7, allocations: 142.4 MB / 0.9557 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.001379/0.7015, allocations: 1.216 MB / 0.9569 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.7026, allocations: 0.7245 MB / 0.9576 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.715e-05/0.7026, allocations: 1.062 kB / 0.9576 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.825e-05/0.7026, allocations: 11.92 kB / 0.9576 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.147e-05/0.7027, allocations: 9.016 kB / 0.9576 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004563/0.7032, allocations: 97.48 kB / 0.9577 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.797e-05/0.7033, allocations: 73.94 kB / 0.9578 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.7034, allocations: 16.91 kB / 0.9578 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.348e-05/0.7035, allocations: 33.41 kB / 0.9578 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.479e-05/0.7036, allocations: 38.34 kB / 0.9579 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.7036, allocations: 3.5 kB / 0.9579 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000191/0.7038, allocations: 89.03 kB / 0.958 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.43e-05/0.7038, allocations: 14.14 kB / 0.958 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.394e-05/0.7039, allocations: 58.8 kB / 0.958 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.704, allocations: 96.52 kB / 0.9581 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.704, allocations: 0 / 0.9581 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.154e-06/0.7041, allocations: 5.375 kB / 0.9581 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.7041, allocations: 0 / 0.9581 GB, free: 5.758 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005002/0.7046, allocations: 438.5 kB / 0.9585 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.7046, allocations: 9.781 kB / 0.9586 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.443e-05/0.7047, allocations: 8.656 kB / 0.9586 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.657e-05/0.7048, allocations: 176.6 kB / 0.9587 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.7048, allocations: 10.55 kB / 0.9587 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.7048, allocations: 3.656 kB / 0.9587 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.705, allocations: 80.41 kB / 0.9588 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.705, allocations: 0 / 0.9588 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.7051, allocations: 5.094 kB / 0.9588 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.7051, allocations: 1.281 kB / 0.9588 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.7052, allocations: 42.56 kB / 0.9589 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004451/0.7057, allocations: 305.4 kB / 0.9592 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.7058, allocations: 57.12 kB / 0.9592 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.33e-05/0.7059, allocations: 35.12 kB / 0.9592 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.706, allocations: 0 / 0.9592 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001912/0.7062, allocations: 84.7 kB / 0.9593 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.7062, allocations: 1.938 kB / 0.9593 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004189/0.7066, allocations: 153.8 kB / 0.9595 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.7066, allocations: 64.88 kB / 0.9595 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.016e-05/0.7067, allocations: 122.3 kB / 0.9597 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.7067, allocations: 30.84 kB / 0.9597 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.019e-05/0.7068, allocations: 90.55 kB / 0.9598 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.7068, allocations: 18.53 kB / 0.9598 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.561e-05/0.7068, allocations: 21.7 kB / 0.9598 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.564e-05/0.7069, allocations: 321.8 kB / 0.9601 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.666e-05/0.707, allocations: 35.62 kB / 0.9601 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.625e-05/0.7071, allocations: 63.8 kB / 0.9602 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.7072, allocations: 93.56 kB / 0.9603 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.7072, allocations: 1.781 kB / 0.9603 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002469/0.7075, allocations: 121.3 kB / 0.9604 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.7075, allocations: 8 kB / 0.9604 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.7075, allocations: 1.406 kB / 0.9604 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.7076, allocations: 5.469 kB / 0.9604 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.509e-05/0.7076, allocations: 18.94 kB / 0.9604 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.7077, allocations: 5.672 kB / 0.9605 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.262e-05/0.7077, allocations: 14.94 kB / 0.9605 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.7077, allocations: 6.75 kB / 0.9605 GB, free: 3.523 MB / 0.7169 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.p,$PRE.bli.p,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.584e-05/0.7078, allocations: 122.2 kB / 0.9606 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.467e-05/0.7078, allocations: 6.688 kB / 0.9606 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.402e-05/0.7079, allocations: 13.73 kB / 0.9606 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.7079, allocations: 1.375 kB / 0.9606 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.7079, allocations: 0 / 0.9606 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.7079, allocations: 5.406 kB / 0.9606 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003814/0.7083, allocations: 401.7 kB / 0.961 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.7083, allocations: 0 / 0.961 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.799e-05/0.7083, allocations: 4.125 kB / 0.961 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.7083, allocations: 1.375 kB / 0.961 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.7084, allocations: 9.359 kB / 0.961 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.7084, allocations: 7.875 kB / 0.961 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.7084, allocations: 4 kB / 0.961 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.7086, allocations: 217.1 kB / 0.9612 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.522e-05/0.7087, allocations: 86.33 kB / 0.9613 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.7087, allocations: 5.359 kB / 0.9613 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.604e-05/0.7088, allocations: 16.06 kB / 0.9613 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.7088, allocations: 6.734 kB / 0.9613 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.7089, allocations: 2.75 kB / 0.9613 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.673e-05/0.7089, allocations: 94.27 kB / 0.9614 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7089, allocations: 3.938 kB / 0.9614 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002963/0.7092, allocations: 35.5 kB / 0.9615 GB, free: 2.594 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: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.p,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.0002983/0.7095, allocations: 153.2 kB / 0.9616 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002287/0.7097, allocations: 82.56 kB / 0.9617 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.7098, allocations: 1.375 kB / 0.9617 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.7099, allocations: 35.39 kB / 0.9617 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.7102, allocations: 17.52 kB / 0.9617 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003817/0.7105, allocations: 240.6 kB / 0.962 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.7107, allocations: 0.6935 MB / 0.9627 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.586e-05/0.7107, allocations: 11.03 kB / 0.9627 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.7107, allocations: 0 / 0.9627 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of Templates: time 0.004214/0.7149, allocations: 1.605 MB / 0.9642 GB, free: 0.6758 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches