Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001811/0.001812, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002019/0.002019, allocations: 193.8 kB / 16.25 MB, free: 6.629 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.266/1.266, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.107/2.107, allocations: 390.2 MB / 0.6644 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 55.91 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5371/0.5383, allocations: 140.4 MB / 0.9492 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002062/0.5404, allocations: 1.57 MB / 0.9508 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008642/0.5413, allocations: 0.742 MB / 0.9515 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.539e-05/0.5414, allocations: 1.75 kB / 0.9515 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.699e-05/0.5414, allocations: 4 kB / 0.9515 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.268e-05/0.5415, allocations: 13.23 kB / 0.9515 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004004/0.5419, allocations: 116.2 kB / 0.9516 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.218e-05/0.542, allocations: 82.09 kB / 0.9517 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.532e-05/0.5421, allocations: 21.45 kB / 0.9517 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.383e-05/0.5421, allocations: 39.58 kB / 0.9518 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.965e-05/0.5422, allocations: 46.78 kB / 0.9518 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.5422, allocations: 6.656 kB / 0.9518 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.5424, allocations: 90.88 kB / 0.9519 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.981e-05/0.5424, allocations: 19.77 kB / 0.9519 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.794e-05/0.5424, allocations: 37.58 kB / 0.9519 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.5426, allocations: 146.1 kB / 0.9521 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.5426, allocations: 1.406 kB / 0.9521 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5426, allocations: 0 / 0.9521 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.5426, allocations: 0 / 0.9521 GB, free: 6.973 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005286/0.5432, allocations: 466.3 kB / 0.9525 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.5432, allocations: 12.38 kB / 0.9525 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.724e-05/0.5432, allocations: 36.22 kB / 0.9526 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.02e-05/0.5433, allocations: 9.344 kB / 0.9526 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.57e-05/0.5434, allocations: 181 kB / 0.9528 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.5434, allocations: 8 kB / 0.9528 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.5434, allocations: 3.25 kB / 0.9528 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.5435, allocations: 81.86 kB / 0.9528 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.5436, allocations: 4 kB / 0.9529 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.5436, allocations: 1.469 kB / 0.9529 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.5436, allocations: 3.938 kB / 0.9529 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.5437, allocations: 42.38 kB / 0.9529 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003975/0.5441, allocations: 318.2 kB / 0.9532 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.5442, allocations: 67.38 kB / 0.9533 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.582e-05/0.5443, allocations: 37 kB / 0.9533 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.5443, allocations: 1.375 kB / 0.9533 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001599/0.5445, allocations: 91.8 kB / 0.9534 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.5445, allocations: 0 / 0.9534 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.000331/0.5448, allocations: 162.7 kB / 0.9535 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.248e-05/0.5449, allocations: 54.06 kB / 0.9536 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.87e-05/0.545, allocations: 131 kB / 0.9537 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.545, allocations: 26.98 kB / 0.9537 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.708e-05/0.545, allocations: 96.05 kB / 0.9538 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.545, allocations: 27.7 kB / 0.9539 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/0.5451, allocations: 30.67 kB / 0.9539 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.613e-05/0.5451, allocations: 329.1 kB / 0.9542 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.44e-05/0.5452, allocations: 27.42 kB / 0.9542 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.406e-05/0.5453, allocations: 64.2 kB / 0.9543 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.5454, allocations: 105.7 kB / 0.9544 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5454, allocations: 0 / 0.9544 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001946/0.5456, allocations: 131.1 kB / 0.9545 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.5456, allocations: 6.656 kB / 0.9545 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.5456, allocations: 1.312 kB / 0.9545 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.5456, allocations: 5.562 kB / 0.9545 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.789e-05/0.5457, allocations: 15.27 kB / 0.9545 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.5458, allocations: 1.344 kB / 0.9545 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.204e-05/0.5459, allocations: 15.77 kB / 0.9546 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.5459, allocations: 8.25 kB / 0.9546 GB, free: 4.613 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 (lig.curSeed,$PRE.lig.curSeed,lig.on,$PRE.lig.on,$whenCondition3,lig.sampleTrigger,$whenCondition2,occ.pulseStart,$PRE.occ.pulseStart,occ.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 5.825e-05/0.5459, allocations: 123.4 kB / 0.9547 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.766e-05/0.546, allocations: 8.281 kB / 0.9547 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002596/0.5462, allocations: 153 kB / 0.9548 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.5462, allocations: 2.438 kB / 0.9548 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.5462, allocations: 0 / 0.9548 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.5463, allocations: 3.984 kB / 0.9548 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004077/0.5467, allocations: 427.3 kB / 0.9553 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.5467, allocations: 0 / 0.9553 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.594e-05/0.5467, allocations: 16.05 kB / 0.9553 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.5468, allocations: 5.062 kB / 0.9553 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.5468, allocations: 5.156 kB / 0.9553 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.5468, allocations: 4.875 kB / 0.9553 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.5468, allocations: 0 / 0.9553 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.547, allocations: 220.8 kB / 0.9555 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.011e-05/0.547, allocations: 95.88 kB / 0.9556 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.5471, allocations: 1.5 kB / 0.9556 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.5472, allocations: 16.36 kB / 0.9556 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.5472, allocations: 13.23 kB / 0.9556 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.5472, allocations: 7.438 kB / 0.9556 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.589e-05/0.5473, allocations: 94.48 kB / 0.9557 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5473, allocations: 0 / 0.9557 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002705/0.5476, allocations: 47.2 kB / 0.9558 GB, free: 3.57 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: 8 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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.0005274/0.5481, allocations: 0.8224 MB / 0.9566 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002054/0.5483, allocations: 93.7 kB / 0.9567 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5483, allocations: 1.375 kB / 0.9567 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.066e-05/0.5484, allocations: 48.55 kB / 0.9567 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.5487, allocations: 22.03 kB / 0.9567 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.5498, allocations: 1.602 MB / 0.9583 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.459e-05/0.5499, allocations: 0.6935 MB / 0.959 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.303e-05/0.5499, allocations: 14.23 kB / 0.959 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.55, allocations: 29.14 kB / 0.959 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.55, allocations: 0 / 0.959 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.355/1.905, allocations: 2.914 MB / 0.9618 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002089/1.905, allocations: 260.6 kB / 0.9621 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.055/3.96, allocations: 0 / 0.9621 GB, free: 14.83 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches