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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001511/0.001511, allocations: 103.8 kB / 16.27 MB, free: 6.414 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.001508/0.001508, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.383/1.383, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.751/2.751, allocations: 482.4 MB / 0.7553 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 68.86 kB / 0.9245 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7457/0.7476, allocations: 162.2 MB / 1.083 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002586/0.7502, allocations: 1.455 MB / 1.084 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000709/0.7509, allocations: 452.1 kB / 1.085 GB, free: 320 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.899e-05/0.751, allocations: 0.8438 kB / 1.085 GB, free: 320 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.151e-05/0.751, allocations: 4.688 kB / 1.085 GB, free: 316 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.468e-05/0.7511, allocations: 14.91 kB / 1.085 GB, free: 304 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.7513, allocations: 21.67 kB / 1.085 GB, free: 292 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.426e-05/0.7514, allocations: 54.03 kB / 1.085 GB, free: 264 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.7515, allocations: 15.52 kB / 1.085 GB, free: 256 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.958e-05/0.7516, allocations: 21 kB / 1.085 GB, free: 248 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.265e-05/0.7517, allocations: 27.3 kB / 1.085 GB, free: 232 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.7517, allocations: 3.062 kB / 1.085 GB, free: 232 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.537e-05/0.7517, allocations: 4.188 kB / 1.085 GB, free: 232 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.662e-05/0.7518, allocations: 8.812 kB / 1.085 GB, free: 228 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.3e-05/0.7518, allocations: 24.02 kB / 1.085 GB, free: 212 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.7519, allocations: 51.78 kB / 1.085 GB, free: 188 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.7519, allocations: 0 / 1.085 GB, free: 188 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7519, allocations: 0 / 1.085 GB, free: 188 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.752, allocations: 3.938 kB / 1.085 GB, free: 184 kB / 0.8262 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.0005531/0.7525, allocations: 408.2 kB / 1.085 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.7526, allocations: 10.16 kB / 1.085 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.087e-05/0.7526, allocations: 6.938 kB / 1.085 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.7528, allocations: 177.2 kB / 1.086 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.7528, allocations: 6.25 kB / 1.086 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.7528, allocations: 3.281 kB / 1.086 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.753, allocations: 63.75 kB / 1.086 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.753, allocations: 0 / 1.086 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.7531, allocations: 0 / 1.086 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.7531, allocations: 1.312 kB / 1.086 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.7532, allocations: 32.38 kB / 1.086 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004821/0.7537, allocations: 285.4 kB / 1.086 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.7538, allocations: 37.89 kB / 1.086 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.134e-05/0.7539, allocations: 30.41 kB / 1.086 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.754, allocations: 1.406 kB / 1.086 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002013/0.7542, allocations: 73.34 kB / 1.086 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.7542, allocations: 0 / 1.086 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5): time 0.0003852/0.7546, allocations: 108.8 kB / 1.086 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.7546, allocations: 53.44 kB / 1.086 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.7547, allocations: 115.7 kB / 1.086 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.7548, allocations: 30.67 kB / 1.086 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.051e-05/0.7548, allocations: 91.44 kB / 1.086 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.7549, allocations: 15.42 kB / 1.086 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.209e-05/0.7549, allocations: 21.44 kB / 1.087 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.7551, allocations: 322.3 kB / 1.087 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.653e-05/0.7551, allocations: 16.22 kB / 1.087 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.815e-05/0.7552, allocations: 53.53 kB / 1.087 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.7554, allocations: 66.33 kB / 1.087 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7554, allocations: 8.781 kB / 1.087 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002062/0.7556, allocations: 90.17 kB / 1.087 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.7556, allocations: 6.328 kB / 1.087 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.7557, allocations: 13.17 kB / 1.087 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.7557, allocations: 1.906 kB / 1.087 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.331e-05/0.7558, allocations: 12.77 kB / 1.087 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.7558, allocations: 2.297 kB / 1.087 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.399e-05/0.7558, allocations: 8.797 kB / 1.087 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.7559, allocations: 3.281 kB / 1.087 GB, free: 14.21 MB / 0.8419 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 0.0001018/0.756, allocations: 118.9 kB / 1.087 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.453e-05/0.756, allocations: 6.531 kB / 1.087 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.969e-05/0.756, allocations: 10.41 kB / 1.087 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.756, allocations: 1.094 kB / 1.087 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.756, allocations: 0 / 1.087 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.756, allocations: 0.6875 kB / 1.087 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004411/0.7565, allocations: 343.4 kB / 1.088 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.7565, allocations: 1.672 kB / 1.088 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.52e-05/0.7566, allocations: 8.938 kB / 1.088 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.7566, allocations: 1.312 kB / 1.088 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.7566, allocations: 1.031 kB / 1.088 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.7566, allocations: 320 / 1.088 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.7566, allocations: 4.562 kB / 1.088 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002873/0.7569, allocations: 193.5 kB / 1.088 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.498e-05/0.7569, allocations: 78.27 kB / 1.088 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.757, allocations: 1.953 kB / 1.088 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.993e-05/0.757, allocations: 5.641 kB / 1.088 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.7571, allocations: 11.86 kB / 1.088 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.7571, allocations: 2.578 kB / 1.088 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.904e-05/0.7572, allocations: 94.33 kB / 1.088 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.7572, allocations: 0 / 1.088 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002277/0.7574, allocations: 8 kB / 1.088 GB, free: 13.41 MB / 0.8419 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.0001096/0.7575, allocations: 98.78 kB / 1.088 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002204/0.7578, allocations: 58.08 kB / 1.088 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.7578, allocations: 0 / 1.088 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.994e-05/0.7579, allocations: 35.06 kB / 1.088 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.7581, allocations: 12.69 kB / 1.088 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004457/0.7586, allocations: 188.9 kB / 1.088 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.7589, allocations: 0.6873 MB / 1.089 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.256e-05/0.759, allocations: 14.94 kB / 1.089 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of SimCode: time 2.11e-07/0.759, allocations: 1.188 kB / 1.089 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of Templates: time 0.002405/0.7614, allocations: 0.7566 MB / 1.09 GB, free: 12.36 MB / 0.8419 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=400 -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