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.001657/0.001657, allocations: 112 kB / 16.37 MB, free: 5.539 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.001842/0.001842, allocations: 190.8 kB / 17.3 MB, free: 5.18 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.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.388/2.388, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 67.89 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2772, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002844/0.2801, allocations: 1.47 MB / 1.028 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000731/0.2808, allocations: 458.6 kB / 1.029 GB, free: 128 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.411e-05/0.2809, allocations: 0 / 1.029 GB, free: 128 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.956e-05/0.2809, allocations: 3.938 kB / 1.029 GB, free: 124 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.532e-05/0.281, allocations: 15.84 kB / 1.029 GB, free: 108 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000169/0.2812, allocations: 23.98 kB / 1.029 GB, free: 84 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.498e-05/0.2813, allocations: 51.84 kB / 1.029 GB, free: 32 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.595e-05/0.2814, allocations: 15.92 kB / 1.029 GB, free: 16 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.2815, allocations: 23.97 kB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.538e-05/0.2816, allocations: 19.88 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.2816, allocations: 4 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.128e-05/0.2816, allocations: 4 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.268e-05/0.2816, allocations: 15.92 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.383e-05/0.2817, allocations: 23.88 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.604e-05/0.2818, allocations: 47.86 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2818, allocations: 0 / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2818, allocations: 0 / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.2818, allocations: 0 / 1.029 GB, free: 15.88 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.0004587/0.2823, allocations: 406.8 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.2823, allocations: 8.031 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.264e-05/0.2823, allocations: 8.844 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.2825, allocations: 184.2 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.2825, allocations: 384 / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.2825, allocations: 8.312 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.2827, allocations: 61.98 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.2827, allocations: 0 / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.2827, allocations: 0 / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.2827, allocations: 0 / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.2828, allocations: 35.97 kB / 1.03 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003798/0.2832, allocations: 288.8 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.2833, allocations: 34.56 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.7e-05/0.2834, allocations: 24.94 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.2834, allocations: 4 kB / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001549/0.2836, allocations: 83.3 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.273e-06/0.2836, allocations: 0 / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0003257/0.2839, allocations: 109.5 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.284, allocations: 55.41 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.639e-05/0.2841, allocations: 109.8 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.2841, allocations: 29.7 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.22e-05/0.2841, allocations: 96.12 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.2842, allocations: 7.812 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.2842, allocations: 21.72 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.579e-05/0.2843, allocations: 322.8 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.219e-05/0.2844, allocations: 19.98 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.23e-05/0.2844, allocations: 48.28 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.2846, allocations: 68.16 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2846, allocations: 0 / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001829/0.2848, allocations: 89.61 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.2848, allocations: 7.984 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2848, allocations: 4 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.2848, allocations: 0 / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.678e-05/0.2849, allocations: 11.94 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.2849, allocations: 256 / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.503e-05/0.285, allocations: 12.05 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.285, allocations: 12 kB / 1.031 GB, free: 13.48 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 (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 7.174e-05/0.2851, allocations: 117.8 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.083e-05/0.2851, allocations: 0 / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.899e-05/0.2851, allocations: 11.97 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2851, allocations: 3.938 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.2851, allocations: 0 / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.2851, allocations: 0 / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003939/0.2855, allocations: 354.7 kB / 1.031 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2856, allocations: 3.984 kB / 1.031 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.721e-05/0.2856, allocations: 4 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.2856, allocations: 4 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.2856, allocations: 3.938 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2856, allocations: 0 / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2856, allocations: 4.094 kB / 1.031 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.2859, allocations: 183.5 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.506e-05/0.2859, allocations: 85.02 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.2859, allocations: 3.984 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.098e-05/0.286, allocations: 8 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.2861, allocations: 7.922 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/0.2861, allocations: 4 kB / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.565e-05/0.2861, allocations: 87.28 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2861, allocations: 0 / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002356/0.2864, allocations: 15.98 kB / 1.032 GB, free: 12.5 MB / 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 (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.849e-05/0.2865, allocations: 106 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001881/0.2867, allocations: 51.91 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2867, allocations: 0 / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.521e-05/0.2868, allocations: 28.3 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.287, allocations: 14.64 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003518/0.2874, allocations: 160 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.2876, allocations: 0.6807 MB / 1.033 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.402e-05/0.2876, allocations: 11.97 kB / 1.033 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.2877, allocations: 11.44 kB / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of SimCode: time 5.11e-07/0.2877, allocations: 0 / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of Templates: time 0.002452/0.2901, allocations: 0.573 MB / 1.033 GB, free: 10.82 MB / 0.8106 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 -s gbode -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/jenkins1/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