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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0008662/0.0008714, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006188/0.006188, allocations: 169.6 kB / 16.27 MB, free: 6.66 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.439/1.439, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.779/2.779, allocations: 462.7 MB / 0.7364 GB, free: 236 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004082/0.0004082, allocations: 8.375 kB / 0.9028 GB, free: 36.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3278, allocations: 159.6 MB / 1.059 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.001853/0.3298, allocations: 1.19 MB / 1.06 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007116/0.3305, allocations: 450.7 kB / 1.06 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.542e-05/0.3306, allocations: 0 / 1.06 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.076e-05/0.3306, allocations: 11.92 kB / 1.06 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.57e-05/0.3307, allocations: 7.938 kB / 1.06 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001941/0.3309, allocations: 15.98 kB / 1.06 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.716e-05/0.331, allocations: 47.78 kB / 1.06 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.3311, allocations: 11.98 kB / 1.06 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.482e-05/0.3312, allocations: 19.92 kB / 1.06 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.564e-05/0.3313, allocations: 19.92 kB / 1.06 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.3313, allocations: 4 kB / 1.06 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.149e-05/0.3313, allocations: 7.938 kB / 1.06 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.143e-05/0.3313, allocations: 0 / 1.06 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.358e-05/0.3314, allocations: 57.55 kB / 1.06 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.3315, allocations: 44.09 kB / 1.06 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.3315, allocations: 0 / 1.06 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3315, allocations: 3.938 kB / 1.06 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.3315, allocations: 0 / 1.06 GB, free: 3.547 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.0005798/0.3321, allocations: 406.8 kB / 1.061 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.3322, allocations: 8.031 kB / 1.061 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.065e-05/0.3322, allocations: 8.844 kB / 1.061 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.3324, allocations: 164.4 kB / 1.061 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.3324, allocations: 384 / 1.061 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.3324, allocations: 8.359 kB / 1.061 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.3326, allocations: 65.98 kB / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.3327, allocations: 0 / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.3327, allocations: 4 kB / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.3327, allocations: 0 / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.3328, allocations: 47.91 kB / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004463/0.3333, allocations: 292.7 kB / 1.061 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.3334, allocations: 42.56 kB / 1.061 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.453e-05/0.3335, allocations: 28.94 kB / 1.062 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.3335, allocations: 8 kB / 1.062 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001934/0.3337, allocations: 75.33 kB / 1.062 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.3338, allocations: 0 / 1.062 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0003792/0.3341, allocations: 121.5 kB / 1.062 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.3342, allocations: 63.39 kB / 1.062 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.104e-05/0.3343, allocations: 109.8 kB / 1.062 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.3343, allocations: 29.7 kB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.667e-05/0.3344, allocations: 92.08 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.344e-05/0.3344, allocations: 7.906 kB / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.157e-05/0.3344, allocations: 21.7 kB / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.3346, allocations: 314.8 kB / 1.062 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.463e-05/0.3346, allocations: 19.98 kB / 1.062 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.772e-05/0.3347, allocations: 52.66 kB / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.3349, allocations: 80.2 kB / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3349, allocations: 7.938 kB / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002/0.3351, allocations: 97.45 kB / 1.063 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.3351, allocations: 7.938 kB / 1.063 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.3351, allocations: 4 kB / 1.063 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.3351, allocations: 4.156 kB / 1.063 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.379e-05/0.3352, allocations: 11.98 kB / 1.063 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3352, allocations: 0 / 1.063 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.293e-05/0.3353, allocations: 8 kB / 1.063 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-06/0.3353, allocations: 0 / 1.063 GB, free: 1.113 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 8.679e-05/0.3354, allocations: 123.2 kB / 1.063 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.467e-05/0.3354, allocations: 11.89 kB / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.931e-05/0.3355, allocations: 7.969 kB / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.3355, allocations: 8 kB / 1.063 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3355, allocations: 0 / 1.063 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3355, allocations: 0 / 1.063 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004086/0.3359, allocations: 350.7 kB / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3359, allocations: 4 kB / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.994e-05/0.336, allocations: 11.98 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.336, allocations: 3.938 kB / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.336, allocations: 0 / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.336, allocations: 0 / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.336, allocations: 3.938 kB / 1.063 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.3363, allocations: 203.4 kB / 1.063 GB, free: 328 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.742e-05/0.3363, allocations: 77.11 kB / 1.063 GB, free: 232 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.3363, allocations: 0 / 1.063 GB, free: 232 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.072e-05/0.3364, allocations: 15.98 kB / 1.063 GB, free: 216 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.3365, allocations: 7.938 kB / 1.063 GB, free: 208 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.3365, allocations: 0 / 1.063 GB, free: 208 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.893e-05/0.3366, allocations: 95.27 kB / 1.063 GB, free: 112 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3366, allocations: 0 / 1.063 GB, free: 112 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002309/0.3368, allocations: 15.91 kB / 1.064 GB, free: 96 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 (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.0001226/0.3369, allocations: 99.47 kB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002164/0.3371, allocations: 64.02 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3372, allocations: 0 / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.3373, allocations: 43.86 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.3375, allocations: 3.938 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003892/0.3379, allocations: 184.8 kB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.3382, allocations: 0.6809 MB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.084e-05/0.3382, allocations: 7.984 kB / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.753e-05/0.3383, allocations: 7.438 kB / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.3383, allocations: 0 / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of Templates: time 0.002751/0.341, allocations: 0.503 MB / 1.065 GB, free: 14.46 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