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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.0008104/0.0008104, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005222/0.005222, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.381/1.381, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.352/2.352, allocations: 390.9 MB / 0.6663 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003223/0.0003224, allocations: 8 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.702/0.7023, allocations: 142.4 MB / 0.955 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.001348/0.7037, allocations: 1.191 MB / 0.9562 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005402/0.7043, allocations: 437.6 kB / 0.9566 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.01e-05/0.7043, allocations: 5 kB / 0.9566 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.348e-05/0.7043, allocations: 0 / 0.9566 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.029e-05/0.7044, allocations: 9.953 kB / 0.9566 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001497/0.7046, allocations: 27.8 kB / 0.9567 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.695e-05/0.7046, allocations: 43.83 kB / 0.9567 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.351e-05/0.7047, allocations: 13.33 kB / 0.9567 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.773e-05/0.7048, allocations: 25.12 kB / 0.9567 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.238e-05/0.7049, allocations: 21.33 kB / 0.9568 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.7049, allocations: 2.344 kB / 0.9568 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.044e-05/0.7049, allocations: 1.156 kB / 0.9568 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.786e-05/0.7049, allocations: 6.406 kB / 0.9568 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.117e-05/0.705, allocations: 48.44 kB / 0.9568 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.126e-05/0.7051, allocations: 40.77 kB / 0.9568 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.7051, allocations: 1.312 kB / 0.9568 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7051, allocations: 0 / 0.9568 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.7051, allocations: 4 kB / 0.9569 GB, free: 6.301 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.0003696/0.7055, allocations: 405.9 kB / 0.9572 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.7055, allocations: 8.062 kB / 0.9572 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.7055, allocations: 4.844 kB / 0.9573 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.31e-05/0.7056, allocations: 178.4 kB / 0.9574 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.7056, allocations: 2.781 kB / 0.9574 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.7057, allocations: 7.062 kB / 0.9574 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.7058, allocations: 65.7 kB / 0.9575 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.7058, allocations: 5.125 kB / 0.9575 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.7058, allocations: 0 / 0.9575 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.7059, allocations: 1.188 kB / 0.9575 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.706, allocations: 42.97 kB / 0.9575 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000312/0.7063, allocations: 290.4 kB / 0.9578 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.7064, allocations: 41.16 kB / 0.9579 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.167e-05/0.7065, allocations: 38.67 kB / 0.9579 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.7065, allocations: 0 / 0.9579 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001608/0.7067, allocations: 79.94 kB / 0.958 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.7067, allocations: 5.875 kB / 0.958 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0003328/0.7071, allocations: 122.2 kB / 0.9581 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.7071, allocations: 53.12 kB / 0.9581 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.937e-05/0.7072, allocations: 117.5 kB / 0.9583 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.448e-06/0.7072, allocations: 31.08 kB / 0.9583 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.867e-05/0.7072, allocations: 94.62 kB / 0.9584 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.284e-05/0.7072, allocations: 13.36 kB / 0.9584 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-05/0.7072, allocations: 16.91 kB / 0.9584 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.042e-05/0.7073, allocations: 320 kB / 0.9587 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.174e-05/0.7074, allocations: 16.36 kB / 0.9587 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.655e-05/0.7074, allocations: 56.03 kB / 0.9588 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.7076, allocations: 78.58 kB / 0.9589 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7076, allocations: 0 / 0.9589 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001762/0.7078, allocations: 103.1 kB / 0.959 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.7078, allocations: 5.375 kB / 0.959 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.7078, allocations: 0 / 0.959 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.7078, allocations: 1.781 kB / 0.959 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.378e-05/0.7079, allocations: 17.2 kB / 0.959 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.7079, allocations: 0 / 0.959 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.355e-05/0.708, allocations: 6 kB / 0.959 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.647e-06/0.708, allocations: 2.812 kB / 0.959 GB, free: 4.219 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 5.781e-05/0.7081, allocations: 125.9 kB / 0.9591 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.207e-05/0.7081, allocations: 6.469 kB / 0.9591 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.179e-05/0.7081, allocations: 9.188 kB / 0.9591 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.7081, allocations: 1.312 kB / 0.9591 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.7081, allocations: 0 / 0.9591 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.7081, allocations: 3.938 kB / 0.9591 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003127/0.7084, allocations: 353.6 kB / 0.9595 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.7084, allocations: 0 / 0.9595 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.74e-05/0.7085, allocations: 8.109 kB / 0.9595 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.7085, allocations: 1.375 kB / 0.9595 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.7085, allocations: 4 kB / 0.9595 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.7085, allocations: 1.375 kB / 0.9595 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.7085, allocations: 3.938 kB / 0.9595 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.7087, allocations: 198.4 kB / 0.9597 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.646e-05/0.7088, allocations: 78.48 kB / 0.9597 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.7088, allocations: 4.062 kB / 0.9597 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.087e-05/0.7089, allocations: 15.23 kB / 0.9598 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.305e-05/0.7089, allocations: 10.69 kB / 0.9598 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-06/0.7089, allocations: 1.375 kB / 0.9598 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.082e-05/0.709, allocations: 94.08 kB / 0.9599 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.709, allocations: 0 / 0.9599 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002289/0.7092, allocations: 9.625 kB / 0.9599 GB, free: 3.348 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 7.003e-05/0.7093, allocations: 101.1 kB / 0.96 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001977/0.7095, allocations: 62.41 kB / 0.96 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.7095, allocations: 0 / 0.96 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.121e-05/0.7096, allocations: 33.98 kB / 0.9601 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.7098, allocations: 10.3 kB / 0.9601 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003138/0.7101, allocations: 194.2 kB / 0.9603 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.82e-05/0.7103, allocations: 0.6861 MB / 0.9609 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.837e-05/0.7103, allocations: 6.5 kB / 0.9609 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.306e-05/0.7103, allocations: 14.44 kB / 0.9609 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of SimCode: time 2.61e-07/0.7103, allocations: 0 / 0.9609 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of Templates: time 0.002416/0.7127, allocations: 0.4949 MB / 0.9614 GB, free: 2.074 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/jenkins/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