Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_11_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.005107/0.005107, allocations: 95.77 kB / 15.73 MB, free: 6.039 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.001368/0.001368, allocations: 201.1 kB / 16.68 MB, free: 5.969 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.26/1.26, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.582/2.582, allocations: 469.8 MB / 0.7425 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 64.11 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2563, allocations: 159.1 MB / 1.22 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002294/0.2587, allocations: 1.503 MB / 1.222 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.2598, allocations: 0.7634 MB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.432e-05/0.2599, allocations: 0 / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.597e-05/0.2599, allocations: 7.875 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.319e-05/0.26, allocations: 15.84 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004326/0.2604, allocations: 123.6 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.2605, allocations: 83.77 kB / 1.223 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.923e-05/0.2606, allocations: 11.98 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.738e-05/0.2607, allocations: 43.78 kB / 1.223 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.558e-05/0.2608, allocations: 43.83 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.2608, allocations: 8 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001701/0.261, allocations: 91.84 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.67e-05/0.261, allocations: 15.98 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.18e-05/0.2611, allocations: 47.78 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.2613, allocations: 143.5 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.2613, allocations: 0 / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.72e-07/0.2613, allocations: 0 / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.2613, allocations: 0 / 1.223 GB, free: 11.44 MB / 0.9825 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.0006468/0.262, allocations: 470.3 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.262, allocations: 8.031 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.683e-05/0.262, allocations: 42.75 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.249e-05/0.2621, allocations: 8.891 kB / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.2622, allocations: 180.2 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.2622, allocations: 4.375 kB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.2623, allocations: 8.375 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.2624, allocations: 73.77 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.2624, allocations: 0 / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.2625, allocations: 4 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.2625, allocations: 0 / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.2626, allocations: 47.91 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004646/0.2631, allocations: 320.7 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.2632, allocations: 62.53 kB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.539e-05/0.2633, allocations: 32.84 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.2633, allocations: 8.031 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000199/0.2635, allocations: 95.36 kB / 1.224 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.2635, allocations: 0 / 1.224 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0003613/0.2639, allocations: 157.8 kB / 1.224 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.264, allocations: 51.41 kB / 1.224 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.2641, allocations: 137.7 kB / 1.225 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.2641, allocations: 25.8 kB / 1.225 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.877e-05/0.2642, allocations: 108.3 kB / 1.225 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.2642, allocations: 19.86 kB / 1.225 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.443e-05/0.2642, allocations: 29.7 kB / 1.225 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.2644, allocations: 326.8 kB / 1.225 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.29e-05/0.2644, allocations: 23.98 kB / 1.225 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.2646, allocations: 81.06 kB / 1.225 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.2647, allocations: 93.08 kB / 1.225 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2647, allocations: 3.938 kB / 1.225 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002357/0.265, allocations: 129.5 kB / 1.225 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.265, allocations: 8 kB / 1.225 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.265, allocations: 0 / 1.225 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.265, allocations: 4 kB / 1.225 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.597e-05/0.2651, allocations: 15.92 kB / 1.225 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.2651, allocations: 4 kB / 1.225 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.2652, allocations: 19.88 kB / 1.225 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.2653, allocations: 8.125 kB / 1.225 GB, free: 8.594 MB / 0.9825 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 9.401e-05/0.2654, allocations: 127.7 kB / 1.226 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.96e-05/0.2654, allocations: 7.953 kB / 1.226 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002991/0.2657, allocations: 145.9 kB / 1.226 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2657, allocations: 0 / 1.226 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.2657, allocations: 7.984 kB / 1.226 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.2657, allocations: 0 / 1.226 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005498/0.2663, allocations: 434.5 kB / 1.226 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2663, allocations: 0 / 1.226 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.933e-05/0.2664, allocations: 15.98 kB / 1.226 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2664, allocations: 0 / 1.226 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.2664, allocations: 4 kB / 1.226 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.2664, allocations: 7.938 kB / 1.226 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2664, allocations: 0 / 1.226 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.2667, allocations: 231.3 kB / 1.226 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.899e-05/0.2667, allocations: 89 kB / 1.226 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.2668, allocations: 4 kB / 1.226 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.2669, allocations: 12.02 kB / 1.226 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.182e-05/0.2669, allocations: 11.97 kB / 1.227 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.267, allocations: 8 kB / 1.227 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.223e-05/0.267, allocations: 98.89 kB / 1.227 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.267, allocations: 0 / 1.227 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002736/0.2673, allocations: 47.92 kB / 1.227 GB, free: 7.258 MB / 0.9825 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.0007644/0.2681, allocations: 0.8259 MB / 1.227 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002158/0.2683, allocations: 79.89 kB / 1.228 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2683, allocations: 0 / 1.228 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.869e-05/0.2684, allocations: 39.98 kB / 1.228 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.2687, allocations: 23.91 kB / 1.228 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.2703, allocations: 1.606 MB / 1.229 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.2706, allocations: 0.7001 MB / 1.23 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.127e-05/0.2706, allocations: 8.438 kB / 1.23 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.277e-05/0.2707, allocations: 27.42 kB / 1.23 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.2707, allocations: 0 / 1.23 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.495/1.766, allocations: 3.095 MB / 1.233 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.903/9.669, allocations: 14.23 kB / 1.233 GB, free: 0.8281 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches