Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.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.Inkarojrit2008BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.p|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.p|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 102.4 kB / 16.27 MB, free: 5.973 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.001838/0.001838, allocations: 191.9 kB / 17.2 MB, free: 5.598 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.349/1.349, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.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.253/2.253, allocations: 390.3 MB / 0.6653 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 61.52 kB / 0.8132 GB, free: 32.99 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2514, allocations: 140.4 MB / 0.9503 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.003142/0.2546, allocations: 1.49 MB / 0.9517 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001424/0.256, allocations: 0.7479 MB / 0.9525 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.298e-05/0.2561, allocations: 0 / 0.9525 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.687e-05/0.2562, allocations: 3.938 kB / 0.9525 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.652e-05/0.2563, allocations: 19.8 kB / 0.9525 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006564/0.2569, allocations: 119.6 kB / 0.9526 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.2571, allocations: 71.78 kB / 0.9527 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.2572, allocations: 16.17 kB / 0.9527 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.99e-05/0.2573, allocations: 39.84 kB / 0.9527 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.239e-05/0.2574, allocations: 35.83 kB / 0.9527 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.2574, allocations: 8 kB / 0.9528 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002218/0.2577, allocations: 91.91 kB / 0.9528 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.974e-05/0.2577, allocations: 19.86 kB / 0.9529 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.129e-05/0.2577, allocations: 31.86 kB / 0.9529 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.258, allocations: 143.9 kB / 0.953 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.258, allocations: 0 / 0.953 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.853e-06/0.258, allocations: 4 kB / 0.953 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.258, allocations: 0 / 0.953 GB, free: 6.004 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006282/0.2587, allocations: 450.5 kB / 0.9535 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.2587, allocations: 8.031 kB / 0.9535 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.77e-05/0.2588, allocations: 8.844 kB / 0.9535 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.2589, allocations: 172.2 kB / 0.9536 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.2589, allocations: 12.31 kB / 0.9537 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.259, allocations: 8.359 kB / 0.9537 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.2592, allocations: 81.72 kB / 0.9537 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.2592, allocations: 3.984 kB / 0.9537 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.2592, allocations: 0 / 0.9537 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2592, allocations: 0 / 0.9537 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.2594, allocations: 35.97 kB / 0.9538 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000513/0.2599, allocations: 304.7 kB / 0.9541 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.26, allocations: 58.48 kB / 0.9541 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.366e-05/0.2601, allocations: 32.97 kB / 0.9542 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.2602, allocations: 4.062 kB / 0.9542 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001991/0.2604, allocations: 79.38 kB / 0.9542 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.2604, allocations: 0 / 0.9542 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0004182/0.2608, allocations: 141.6 kB / 0.9544 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.2609, allocations: 63.33 kB / 0.9544 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.261, allocations: 121.8 kB / 0.9545 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.261, allocations: 29.7 kB / 0.9546 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.116e-05/0.2611, allocations: 92.12 kB / 0.9547 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.2611, allocations: 23.73 kB / 0.9547 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.058e-05/0.2611, allocations: 29.7 kB / 0.9547 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.2613, allocations: 326.8 kB / 0.955 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.985e-05/0.2613, allocations: 23.98 kB / 0.9551 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.2615, allocations: 61.08 kB / 0.9551 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.2616, allocations: 89.06 kB / 0.9552 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2616, allocations: 0 / 0.9552 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002364/0.2619, allocations: 121.5 kB / 0.9553 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.2619, allocations: 4 kB / 0.9553 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2619, allocations: 0 / 0.9553 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.2619, allocations: 4 kB / 0.9553 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.191e-05/0.262, allocations: 15.92 kB / 0.9553 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.262, allocations: 4 kB / 0.9553 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.998e-05/0.2621, allocations: 4 kB / 0.9553 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.2621, allocations: 8 kB / 0.9553 GB, free: 3.359 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.p,$PRE.bli.p,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 (11): * Single equations (assignments): 11 * 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.0001114/0.2623, allocations: 125.8 kB / 0.9555 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/0.2623, allocations: 15.84 kB / 0.9555 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.678e-05/0.2623, allocations: 8.359 kB / 0.9555 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2623, allocations: 4 kB / 0.9555 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.2623, allocations: 0 / 0.9555 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2623, allocations: 0 / 0.9555 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004544/0.2628, allocations: 382.4 kB / 0.9559 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2628, allocations: 4 kB / 0.9559 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.945e-05/0.2629, allocations: 7.984 kB / 0.9559 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2629, allocations: 7.938 kB / 0.9559 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.2629, allocations: 4 kB / 0.9559 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.2629, allocations: 7.875 kB / 0.9559 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2629, allocations: 0 / 0.9559 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002907/0.2632, allocations: 207.5 kB / 0.9561 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.771e-05/0.2632, allocations: 81.02 kB / 0.9562 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.2633, allocations: 15.98 kB / 0.9562 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.075e-05/0.2634, allocations: 3.938 kB / 0.9562 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.2634, allocations: 12.02 kB / 0.9562 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.2634, allocations: 4 kB / 0.9562 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.979e-05/0.2635, allocations: 91.27 kB / 0.9563 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2635, allocations: 0 / 0.9563 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003139/0.2638, allocations: 43.94 kB / 0.9563 GB, free: 2.254 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.p,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003497/0.2642, allocations: 169.3 kB / 0.9565 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002555/0.2645, allocations: 75.84 kB / 0.9566 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2645, allocations: 0 / 0.9566 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.2646, allocations: 39.97 kB / 0.9566 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.2649, allocations: 20.25 kB / 0.9566 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004563/0.2653, allocations: 214 kB / 0.9568 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.2656, allocations: 0.6922 MB / 0.9575 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.758e-05/0.2656, allocations: 15.44 kB / 0.9575 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of SimCode: time 4.41e-07/0.2656, allocations: 0 / 0.9575 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of Templates: time 0.003565/0.2692, allocations: 1.609 MB / 0.9591 GB, free: 15.38 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches