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.001449/0.00145, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001678/0.001678, allocations: 189.4 kB / 16.25 MB, free: 6.637 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.479/1.479, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.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.434/2.434, allocations: 390.2 MB / 0.6644 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 67.84 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7704/0.7716, allocations: 140.3 MB / 0.9491 GB, free: 9.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.003564/0.7752, allocations: 1.532 MB / 0.9506 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008517/0.7761, allocations: 447.1 kB / 0.951 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.721e-05/0.7762, allocations: 5.25 kB / 0.951 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.721e-05/0.7763, allocations: 0 / 0.951 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.964e-05/0.7764, allocations: 9.578 kB / 0.951 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002328/0.7766, allocations: 23.86 kB / 0.951 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.7767, allocations: 48.81 kB / 0.9511 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.7768, allocations: 9.281 kB / 0.9511 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.777, allocations: 21.61 kB / 0.9511 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.63e-05/0.777, allocations: 29.95 kB / 0.9512 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.7771, allocations: 4.219 kB / 0.9512 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.649e-05/0.7771, allocations: 4.312 kB / 0.9512 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.469e-05/0.7771, allocations: 13.25 kB / 0.9512 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.819e-05/0.7772, allocations: 22.61 kB / 0.9512 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.7773, allocations: 42.2 kB / 0.9512 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.7773, allocations: 0 / 0.9512 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7773, allocations: 0 / 0.9512 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.822e-06/0.7773, allocations: 0 / 0.9512 GB, free: 7.371 MB / 0.7169 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.0004829/0.7778, allocations: 411.3 kB / 0.9516 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.7779, allocations: 12.23 kB / 0.9516 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.7779, allocations: 11.59 kB / 0.9517 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.736e-05/0.778, allocations: 176.4 kB / 0.9518 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.778, allocations: 1.75 kB / 0.9518 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.7781, allocations: 3.125 kB / 0.9518 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.7783, allocations: 72.98 kB / 0.9519 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.7783, allocations: 1.375 kB / 0.9519 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.7783, allocations: 0 / 0.9519 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.7783, allocations: 5.375 kB / 0.9519 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.7785, allocations: 31.22 kB / 0.9519 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005347/0.779, allocations: 284 kB / 0.9522 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.7791, allocations: 40.3 kB / 0.9522 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.155e-05/0.7792, allocations: 37.3 kB / 0.9523 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.7793, allocations: 1.375 kB / 0.9523 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002388/0.7795, allocations: 63.67 kB / 0.9523 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.974e-06/0.7795, allocations: 0 / 0.9523 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0004039/0.7799, allocations: 117 kB / 0.9524 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.78, allocations: 52.56 kB / 0.9525 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.7801, allocations: 114.6 kB / 0.9526 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.7801, allocations: 27.05 kB / 0.9526 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.666e-05/0.7802, allocations: 89.72 kB / 0.9527 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.7802, allocations: 13.41 kB / 0.9527 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.934e-05/0.7802, allocations: 20.03 kB / 0.9528 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.776e-05/0.7803, allocations: 324.3 kB / 0.9531 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.601e-05/0.7804, allocations: 17.92 kB / 0.9531 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.062e-05/0.7805, allocations: 48.12 kB / 0.9531 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.7806, allocations: 72.56 kB / 0.9532 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.7806, allocations: 0 / 0.9532 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002197/0.7809, allocations: 93.53 kB / 0.9533 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.7809, allocations: 5.406 kB / 0.9533 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.7809, allocations: 1.406 kB / 0.9533 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.7809, allocations: 6.531 kB / 0.9533 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.781, allocations: 9.562 kB / 0.9533 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.7811, allocations: 6.578 kB / 0.9533 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.046e-05/0.7811, allocations: 2.906 kB / 0.9533 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.7812, allocations: 3.562 kB / 0.9533 GB, free: 5.285 MB / 0.7169 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.0001037/0.7813, allocations: 118.9 kB / 0.9534 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.952e-05/0.7813, allocations: 10.09 kB / 0.9534 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.608e-05/0.7813, allocations: 9.375 kB / 0.9534 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.7813, allocations: 7.984 kB / 0.9535 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.7813, allocations: 5.281 kB / 0.9535 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.7814, allocations: 0 / 0.9535 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003666/0.7817, allocations: 344.5 kB / 0.9538 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.7817, allocations: 4 kB / 0.9538 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.182e-05/0.7818, allocations: 2.688 kB / 0.9538 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.7818, allocations: 1.469 kB / 0.9538 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.7818, allocations: 8 kB / 0.9538 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.7818, allocations: 0 / 0.9538 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.7818, allocations: 5.469 kB / 0.9538 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.7821, allocations: 187.5 kB / 0.954 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.64e-05/0.7821, allocations: 82.39 kB / 0.9541 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.7821, allocations: 1.25 kB / 0.9541 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.103e-05/0.7822, allocations: 7.656 kB / 0.9541 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.9e-05/0.7823, allocations: 13.98 kB / 0.9541 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.7823, allocations: 1.406 kB / 0.9541 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.704e-05/0.7823, allocations: 92.17 kB / 0.9542 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7823, allocations: 0 / 0.9542 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002518/0.7826, allocations: 8.375 kB / 0.9542 GB, free: 4.41 MB / 0.7169 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.496e-05/0.7827, allocations: 97.19 kB / 0.9543 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002035/0.7829, allocations: 60.28 kB / 0.9543 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.7829, allocations: 0 / 0.9543 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.794e-05/0.783, allocations: 32.28 kB / 0.9544 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.7833, allocations: 4.125 kB / 0.9544 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004139/0.7837, allocations: 176.9 kB / 0.9545 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.7838, allocations: 0.6899 MB / 0.9552 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.187e-05/0.7839, allocations: 2.906 kB / 0.9552 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.692e-05/0.7839, allocations: 10.38 kB / 0.9552 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of SimCode: time 4.71e-07/0.7839, allocations: 288 / 0.9552 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of Templates: time 0.002824/0.7867, allocations: 0.5305 MB / 0.9557 GB, free: 3.141 MB / 0.7169 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/jenkins/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