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.001133/0.001133, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001171/0.001171, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.181/2.181, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 67.91 kB / 0.9515 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7755/0.7769, allocations: 140.4 MB / 1.089 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002453/0.7794, allocations: 1.475 MB / 1.09 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006693/0.7801, allocations: 449 kB / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.542e-05/0.7801, allocations: 0.9375 kB / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.277e-05/0.7802, allocations: 4.453 kB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.852e-05/0.7802, allocations: 11.06 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.7804, allocations: 30.16 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.7806, allocations: 50.34 kB / 1.091 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.7807, allocations: 11.11 kB / 1.091 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.239e-05/0.7808, allocations: 24.59 kB / 1.091 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.892e-05/0.7809, allocations: 19.58 kB / 1.091 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.514e-05/0.7809, allocations: 4.125 kB / 1.091 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.51e-05/0.7809, allocations: 4.375 kB / 1.091 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.557e-05/0.7809, allocations: 15.19 kB / 1.091 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.248e-05/0.781, allocations: 24.83 kB / 1.091 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.7811, allocations: 42.23 kB / 1.091 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.7811, allocations: 0 / 1.091 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7811, allocations: 3.938 kB / 1.091 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.7811, allocations: 1.219 kB / 1.091 GB, free: 4.34 MB / 0.8575 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.0004522/0.7816, allocations: 412.9 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.7816, allocations: 9.125 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/0.7817, allocations: 4.75 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.192e-05/0.7818, allocations: 176.7 kB / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.7818, allocations: 1.844 kB / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.7818, allocations: 6.906 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.782, allocations: 59.31 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.782, allocations: 0 / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.7821, allocations: 9.266 kB / 1.091 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.7821, allocations: 1.812 kB / 1.091 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001409/0.7822, allocations: 42.12 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003981/0.7826, allocations: 275.4 kB / 1.092 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.7827, allocations: 37.17 kB / 1.092 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.402e-05/0.7828, allocations: 30.64 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.7829, allocations: 1.062 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001695/0.783, allocations: 72.41 kB / 1.092 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.253e-06/0.783, allocations: 1.25 kB / 1.092 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0003569/0.7834, allocations: 113.3 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.7834, allocations: 53.36 kB / 1.092 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.448e-05/0.7835, allocations: 115 kB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.7835, allocations: 26.67 kB / 1.092 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.31e-05/0.7836, allocations: 87.05 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.7836, allocations: 15.02 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-05/0.7836, allocations: 21.33 kB / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.078e-05/0.7837, allocations: 326.5 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.378e-05/0.7838, allocations: 20.39 kB / 1.093 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.09e-05/0.7838, allocations: 49.89 kB / 1.093 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.784, allocations: 73.73 kB / 1.093 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.784, allocations: 1.125 kB / 1.093 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001786/0.7842, allocations: 90.67 kB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.7842, allocations: 4.688 kB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.7842, allocations: 6.5 kB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.7842, allocations: 1.984 kB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.335e-05/0.7843, allocations: 9.406 kB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.7843, allocations: 2.047 kB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.425e-05/0.7844, allocations: 8.406 kB / 1.093 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.7844, allocations: 3.625 kB / 1.093 GB, free: 2.383 MB / 0.8575 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.845e-05/0.7845, allocations: 118 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.221e-05/0.7845, allocations: 3.344 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.62e-05/0.7845, allocations: 10.23 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.7845, allocations: 4.938 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.7845, allocations: 4.797 kB / 1.093 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.7845, allocations: 5.094 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003346/0.7849, allocations: 347.4 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.7849, allocations: 0.5156 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.931e-05/0.7849, allocations: 9.062 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.7849, allocations: 0.7188 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.785, allocations: 5.406 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.785, allocations: 0 / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.785, allocations: 9.156 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.7852, allocations: 184.3 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.839e-05/0.7852, allocations: 83.5 kB / 1.094 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.7853, allocations: 1.672 kB / 1.094 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.057e-05/0.7853, allocations: 10.11 kB / 1.094 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.7854, allocations: 7.672 kB / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.914e-06/0.7854, allocations: 2.062 kB / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.233e-05/0.7854, allocations: 90.05 kB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7854, allocations: 0 / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002314/0.7857, allocations: 13.19 kB / 1.094 GB, free: 1.555 MB / 0.8575 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 9.109e-05/0.7858, allocations: 101.1 kB / 1.094 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002108/0.786, allocations: 56.67 kB / 1.094 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.786, allocations: 0.6875 kB / 1.094 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.548e-05/0.7861, allocations: 30.12 kB / 1.094 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.7864, allocations: 7.969 kB / 1.094 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003761/0.7867, allocations: 189.4 kB / 1.094 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.7869, allocations: 0.6877 MB / 1.095 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/0.7869, allocations: 14.44 kB / 1.095 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of SimCode: time 3.5e-07/0.7869, allocations: 0 / 1.095 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of Templates: time 0.002309/0.7892, allocations: 0.7496 MB / 1.095 GB, free: 0.5273 MB / 0.8575 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