Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Hunt1979Light,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",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.001478/0.001478, 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.002029/0.002029, allocations: 189.3 kB / 16.25 MB, free: 6.633 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.278/1.278, allocations: 222.9 MB / 239.9 MB, free: 4.5 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.114/2.114, allocations: 390.2 MB / 0.6644 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 67.89 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.556/0.5573, allocations: 140.4 MB / 0.9492 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002174/0.5595, allocations: 1.567 MB / 0.9508 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009776/0.5605, allocations: 0.7463 MB / 0.9515 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.63e-05/0.5605, allocations: 1.25 kB / 0.9515 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.806e-05/0.5606, allocations: 3.938 kB / 0.9515 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.493e-05/0.5607, allocations: 14.62 kB / 0.9515 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004339/0.5611, allocations: 114.7 kB / 0.9516 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.733e-05/0.5612, allocations: 95.52 kB / 0.9517 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.166e-05/0.5613, allocations: 18.95 kB / 0.9517 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.278e-05/0.5614, allocations: 43.95 kB / 0.9518 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.445e-05/0.5615, allocations: 35.09 kB / 0.9518 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.5615, allocations: 7.281 kB / 0.9518 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.5616, allocations: 98.41 kB / 0.9519 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.135e-05/0.5617, allocations: 23.5 kB / 0.9519 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.306e-05/0.5617, allocations: 38.97 kB / 0.952 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.5619, allocations: 148 kB / 0.9521 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.5619, allocations: 0 / 0.9521 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.042e-06/0.5619, allocations: 1.312 kB / 0.9521 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.5619, allocations: 0 / 0.9521 GB, free: 6.914 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.0005793/0.5625, allocations: 479.6 kB / 0.9526 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.5626, allocations: 8.844 kB / 0.9526 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.62e-05/0.5626, allocations: 32.88 kB / 0.9526 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.447e-05/0.5626, allocations: 9.344 kB / 0.9526 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.72e-05/0.5627, allocations: 193.5 kB / 0.9528 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.546e-05/0.5628, allocations: 32.39 kB / 0.9528 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.5628, allocations: 4.188 kB / 0.9528 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.563, allocations: 78.58 kB / 0.9529 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.563, allocations: 0 / 0.9529 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.563, allocations: 1.281 kB / 0.9529 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.563, allocations: 1.312 kB / 0.9529 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/0.5632, allocations: 60.95 kB / 0.953 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/0.5636, allocations: 323.2 kB / 0.9533 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.5638, allocations: 67.75 kB / 0.9533 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.733e-05/0.5639, allocations: 50.52 kB / 0.9534 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.5639, allocations: 1.5 kB / 0.9534 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001945/0.5641, allocations: 89.95 kB / 0.9535 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 2.044e-06/0.5641, allocations: 0 / 0.9535 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0004162/0.5645, allocations: 176 kB / 0.9537 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.169e-05/0.5646, allocations: 53.53 kB / 0.9537 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.195e-05/0.5646, allocations: 139.9 kB / 0.9538 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.5647, allocations: 31.36 kB / 0.9539 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.818e-05/0.5647, allocations: 95.3 kB / 0.954 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.5647, allocations: 20.19 kB / 0.954 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/0.5648, allocations: 30.8 kB / 0.954 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.668e-05/0.5648, allocations: 329.5 kB / 0.9543 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.493e-05/0.5649, allocations: 29.48 kB / 0.9543 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.565, allocations: 69.31 kB / 0.9544 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.5652, allocations: 108 kB / 0.9545 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5652, allocations: 1.531 kB / 0.9545 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002546/0.5655, allocations: 138.5 kB / 0.9547 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.5655, allocations: 6.312 kB / 0.9547 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.5655, allocations: 1.438 kB / 0.9547 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.5655, allocations: 1.125 kB / 0.9547 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.5656, allocations: 23.7 kB / 0.9547 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.5656, allocations: 2.094 kB / 0.9547 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.5657, allocations: 15.67 kB / 0.9547 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.5658, allocations: 12.11 kB / 0.9547 GB, free: 4.473 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 6.323e-05/0.5658, allocations: 128.5 kB / 0.9548 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.014e-05/0.5659, allocations: 7.594 kB / 0.9548 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.566e-05/0.5659, allocations: 11.69 kB / 0.9549 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.5659, allocations: 1.469 kB / 0.9549 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.5659, allocations: 3.938 kB / 0.9549 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.5659, allocations: 3.984 kB / 0.9549 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004673/0.5664, allocations: 432.4 kB / 0.9553 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5664, allocations: 1.25 kB / 0.9553 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.988e-05/0.5665, allocations: 10.52 kB / 0.9553 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.5665, allocations: 0 / 0.9553 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.5665, allocations: 5.688 kB / 0.9553 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.5665, allocations: 3.938 kB / 0.9553 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.5665, allocations: 1.188 kB / 0.9553 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.5668, allocations: 227.5 kB / 0.9555 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.092e-05/0.5668, allocations: 87.95 kB / 0.9556 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.5668, allocations: 0 / 0.9556 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.567, allocations: 18.11 kB / 0.9556 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.567, allocations: 13.45 kB / 0.9556 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.567, allocations: 6.234 kB / 0.9556 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.982e-05/0.5671, allocations: 106.5 kB / 0.9557 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5671, allocations: 0 / 0.9557 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002815/0.5674, allocations: 46.42 kB / 0.9558 GB, free: 3.504 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 (10): * Single equations (assignments): 7 * 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.0005845/0.568, allocations: 0.8214 MB / 0.9566 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002509/0.5682, allocations: 93.75 kB / 0.9567 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.5682, allocations: 1.406 kB / 0.9567 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.5683, allocations: 51.44 kB / 0.9567 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.5686, allocations: 20.05 kB / 0.9567 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.57, allocations: 1.629 MB / 0.9583 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.809e-05/0.5701, allocations: 0.6923 MB / 0.959 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.563e-05/0.5701, allocations: 10.81 kB / 0.959 GB, free: 496 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.402e-05/0.5702, allocations: 24.81 kB / 0.959 GB, free: 480 kB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.5702, allocations: 7.938 kB / 0.959 GB, free: 472 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.361/1.931, allocations: 2.914 MB / 0.9619 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000223/1.931, allocations: 251.2 kB / 0.9621 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.003/3.934, allocations: 3.938 kB / 0.9621 GB, free: 14.74 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.fmu > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches