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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009018/0.0009019, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.007923/0.007924, allocations: 171 kB / 16.26 MB, free: 6.613 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.219/1.219, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.069/2.069, allocations: 390.9 MB / 0.6664 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002989/0.000299, allocations: 12 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5291/0.5294, allocations: 142.4 MB / 0.9552 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.001263/0.5307, allocations: 1.229 MB / 0.9564 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000957/0.5317, allocations: 0.7475 MB / 0.9571 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.511e-05/0.5317, allocations: 3.938 kB / 0.9571 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.894e-05/0.5317, allocations: 0 / 0.9571 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.443e-05/0.5318, allocations: 14.02 kB / 0.9571 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004018/0.5322, allocations: 106.3 kB / 0.9572 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.862e-05/0.5323, allocations: 77.09 kB / 0.9573 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.426e-05/0.5324, allocations: 17.44 kB / 0.9573 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.947e-05/0.5325, allocations: 30.72 kB / 0.9573 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.91e-05/0.5326, allocations: 35.06 kB / 0.9574 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.5326, allocations: 3.969 kB / 0.9574 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.5327, allocations: 93.5 kB / 0.9575 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.078e-05/0.5328, allocations: 23.59 kB / 0.9575 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.302e-05/0.5328, allocations: 63.33 kB / 0.9575 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.533, allocations: 133.8 kB / 0.9577 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.533, allocations: 3.938 kB / 0.9577 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.292e-06/0.533, allocations: 0 / 0.9577 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.066e-06/0.533, allocations: 0 / 0.9577 GB, free: 5.75 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.0004961/0.5335, allocations: 458.3 kB / 0.9581 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.5335, allocations: 8.938 kB / 0.9581 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.184e-05/0.5336, allocations: 32.56 kB / 0.9581 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.673e-05/0.5336, allocations: 8.438 kB / 0.9582 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.428e-05/0.5337, allocations: 185.9 kB / 0.9583 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.5337, allocations: 5.922 kB / 0.9583 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.5337, allocations: 4.562 kB / 0.9583 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.5339, allocations: 78.91 kB / 0.9584 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.5339, allocations: 0 / 0.9584 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.5339, allocations: 5.375 kB / 0.9584 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.5339, allocations: 0 / 0.9584 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.534, allocations: 46.03 kB / 0.9585 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003935/0.5344, allocations: 329.2 kB / 0.9588 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.5346, allocations: 69.92 kB / 0.9589 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.972e-05/0.5347, allocations: 38.06 kB / 0.9589 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.5347, allocations: 1.188 kB / 0.9589 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.5349, allocations: 94.48 kB / 0.959 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.5349, allocations: 0 / 0.959 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0003398/0.5352, allocations: 164.3 kB / 0.9591 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/0.5352, allocations: 61.53 kB / 0.9592 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.099e-05/0.5353, allocations: 127.4 kB / 0.9593 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.5353, allocations: 30.86 kB / 0.9593 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.741e-05/0.5354, allocations: 92.53 kB / 0.9594 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.5354, allocations: 26.52 kB / 0.9595 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/0.5354, allocations: 22.92 kB / 0.9595 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.854e-05/0.5355, allocations: 324.1 kB / 0.9598 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.017e-05/0.5355, allocations: 29.14 kB / 0.9598 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.986e-05/0.5356, allocations: 78.53 kB / 0.9599 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.5358, allocations: 104.6 kB / 0.96 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.5358, allocations: 0 / 0.96 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000207/0.536, allocations: 131.9 kB / 0.9601 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.536, allocations: 5.188 kB / 0.9601 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.536, allocations: 2.031 kB / 0.9601 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.5361, allocations: 1.875 kB / 0.9601 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.597e-05/0.5362, allocations: 19.42 kB / 0.9601 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.5362, allocations: 6.75 kB / 0.9602 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.791e-05/0.5363, allocations: 17.61 kB / 0.9602 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.5363, allocations: 4.125 kB / 0.9602 GB, free: 3.406 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.055e-05/0.5364, allocations: 126 kB / 0.9603 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.615e-05/0.5364, allocations: 10.66 kB / 0.9603 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002628/0.5366, allocations: 158.9 kB / 0.9605 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.5367, allocations: 1.375 kB / 0.9605 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5367, allocations: 3.984 kB / 0.9605 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.5367, allocations: 1.375 kB / 0.9605 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004185/0.5371, allocations: 438.4 kB / 0.9609 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.5371, allocations: 0 / 0.9609 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.992e-05/0.5372, allocations: 16.17 kB / 0.9609 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.5372, allocations: 1.375 kB / 0.9609 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/0.5372, allocations: 1.375 kB / 0.9609 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.5372, allocations: 3.938 kB / 0.9609 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5372, allocations: 1.375 kB / 0.9609 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.5374, allocations: 236 kB / 0.9611 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.989e-05/0.5375, allocations: 83.77 kB / 0.9612 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.5375, allocations: 1.375 kB / 0.9612 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.5376, allocations: 18.8 kB / 0.9612 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.5376, allocations: 9.484 kB / 0.9612 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.5377, allocations: 4.125 kB / 0.9612 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.618e-05/0.5377, allocations: 102.9 kB / 0.9613 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5377, allocations: 0 / 0.9613 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002788/0.538, allocations: 47.55 kB / 0.9614 GB, free: 2.363 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.0005539/0.5385, allocations: 0.8263 MB / 0.9622 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001999/0.5388, allocations: 88.64 kB / 0.9623 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.5388, allocations: 1.156 kB / 0.9623 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.676e-05/0.5389, allocations: 53.64 kB / 0.9623 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.5391, allocations: 22.11 kB / 0.9623 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.5404, allocations: 1.626 MB / 0.9639 GB, free: 64 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.5406, allocations: 0.6969 MB / 0.9646 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.358e-05/0.5407, allocations: 6.625 kB / 0.9646 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.046e-05/0.5407, allocations: 28.64 kB / 0.9646 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.5407, allocations: 0 / 0.9646 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9872/1.528, allocations: 2.727 MB / 0.9673 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002347/1.528, allocations: 269.2 kB / 0.9676 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.833/3.362, allocations: 0 / 0.9676 GB, free: 13.76 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