Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Newsham1994BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.blindState",fileNamePrefix="Buildings_latest_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_latest_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.001059/0.001059, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001269/0.001269, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.86/2.86, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.0003759, allocations: 10.25 kB / 0.9021 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3678, allocations: 159.6 MB / 1.058 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.00218/0.37, allocations: 1.171 MB / 1.059 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008807/0.3709, allocations: 423.1 kB / 1.06 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.742e-05/0.371, allocations: 4 kB / 1.06 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.865e-05/0.371, allocations: 3.984 kB / 1.06 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.129e-05/0.3711, allocations: 15.86 kB / 1.06 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.3714, allocations: 15.98 kB / 1.06 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.3715, allocations: 39.86 kB / 1.06 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.3716, allocations: 11.98 kB / 1.06 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.3717, allocations: 19.92 kB / 1.06 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.828e-05/0.3718, allocations: 31.78 kB / 1.06 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.3719, allocations: 4 kB / 1.06 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.043e-05/0.3719, allocations: 0 / 1.06 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.729e-05/0.3719, allocations: 4 kB / 1.06 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.88e-05/0.3719, allocations: 33.7 kB / 1.06 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.703e-05/0.372, allocations: 32.22 kB / 1.06 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.372, allocations: 3.938 kB / 1.06 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.896e-06/0.3721, allocations: 0 / 1.06 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.3721, allocations: 0 / 1.06 GB, free: 3.504 MB / 0.8106 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.0005997/0.3727, allocations: 406.6 kB / 1.06 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.3727, allocations: 8.031 kB / 1.06 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.688e-05/0.3728, allocations: 7.906 kB / 1.06 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.3729, allocations: 163.1 kB / 1.06 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.196e-05/0.373, allocations: 0 / 1.06 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.373, allocations: 11.94 kB / 1.06 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.3732, allocations: 61.67 kB / 1.06 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.3732, allocations: 4 kB / 1.06 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.3732, allocations: 3.938 kB / 1.06 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3732, allocations: 0 / 1.06 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.3734, allocations: 47.91 kB / 1.06 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004975/0.3739, allocations: 292.8 kB / 1.061 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.374, allocations: 38.56 kB / 1.061 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.735e-05/0.3741, allocations: 32.94 kB / 1.061 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.3741, allocations: 4 kB / 1.061 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002132/0.3744, allocations: 79.23 kB / 1.061 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.543e-06/0.3744, allocations: 0 / 1.061 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0003608/0.3747, allocations: 121.6 kB / 1.061 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.3748, allocations: 59.39 kB / 1.061 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.952e-05/0.3749, allocations: 114 kB / 1.061 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.3749, allocations: 25.7 kB / 1.061 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.112e-05/0.375, allocations: 96.05 kB / 1.061 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.375, allocations: 7.906 kB / 1.061 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/0.375, allocations: 0 / 1.061 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.3752, allocations: 322.8 kB / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.585e-05/0.3752, allocations: 23.92 kB / 1.062 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.568e-05/0.3753, allocations: 56.22 kB / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.344e-05/0.3754, allocations: 23.98 kB / 1.062 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3754, allocations: 0 / 1.062 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002073/0.3756, allocations: 101.5 kB / 1.062 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.3757, allocations: 8 kB / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3757, allocations: 0 / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.3757, allocations: 0 / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.417e-05/0.3758, allocations: 11.98 kB / 1.062 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.3758, allocations: 4 kB / 1.062 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.388e-05/0.3759, allocations: 8.156 kB / 1.062 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.3759, allocations: 4 kB / 1.062 GB, free: 1.152 MB / 0.8106 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 ($PRE.bli.blindState,bli.blindState,occ.y,$whenCondition1,bli.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.111e-05/0.376, allocations: 122.1 kB / 1.062 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.103e-05/0.376, allocations: 3.906 kB / 1.062 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.875e-05/0.376, allocations: 15.95 kB / 1.062 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.376, allocations: 3.938 kB / 1.062 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.376, allocations: 0 / 1.062 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3761, allocations: 0 / 1.062 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004118/0.3765, allocations: 354.5 kB / 1.062 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3765, allocations: 0 / 1.062 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.051e-05/0.3765, allocations: 7.938 kB / 1.062 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3765, allocations: 0 / 1.062 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.3766, allocations: 7.984 kB / 1.062 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3766, allocations: 4 kB / 1.062 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3766, allocations: 0 / 1.062 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.3768, allocations: 195.8 kB / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.56e-05/0.3769, allocations: 89.02 kB / 1.063 GB, free: 272 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.3769, allocations: 4 kB / 1.063 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.146e-05/0.377, allocations: 11.98 kB / 1.063 GB, free: 256 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.563e-05/0.377, allocations: 8 kB / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.3771, allocations: 0 / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.987e-05/0.3771, allocations: 91.27 kB / 1.063 GB, free: 156 kB / 0.8106 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3771, allocations: 0 / 1.063 GB, free: 156 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002328/0.3774, allocations: 8 kB / 1.063 GB, free: 148 kB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001147/0.3775, allocations: 103.2 kB / 1.063 GB, free: 36 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002238/0.3777, allocations: 63.97 kB / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.3777, allocations: 0 / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.733e-05/0.3778, allocations: 48.14 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.3781, allocations: 4.891 kB / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004094/0.3785, allocations: 176.7 kB / 1.063 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.3788, allocations: 0.6887 MB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.77e-05/0.3788, allocations: 7.984 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.892e-05/0.3789, allocations: 7.438 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3789, allocations: 3.938 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of Templates: time 0.002762/0.3816, allocations: 493.2 kB / 1.064 GB, free: 14.52 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches