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.001479/0.001479, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001417, allocations: 198.7 kB / 16.54 MB, free: 6.672 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.321/1.321, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.564/2.564, allocations: 469.8 MB / 0.7424 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 70.44 kB / 0.9087 GB, free: 34.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2475, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002522/0.2501, allocations: 1.511 MB / 1.066 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.2513, allocations: 0.7595 MB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.268e-05/0.2513, allocations: 0 / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.429e-05/0.2514, allocations: 11.86 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.595e-05/0.2514, allocations: 15.88 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004365/0.2519, allocations: 123.6 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.252, allocations: 83.75 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.9e-05/0.2521, allocations: 15.94 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.115e-05/0.2522, allocations: 35.86 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.225e-05/0.2522, allocations: 51.81 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.2523, allocations: 4 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/0.2524, allocations: 95.84 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.751e-05/0.2525, allocations: 19.92 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.655e-05/0.2525, allocations: 31.86 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.2528, allocations: 143.9 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2528, allocations: 0 / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2528, allocations: 0 / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.2528, allocations: 4 kB / 1.067 GB, free: 11.28 MB / 0.8262 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.000664/0.2535, allocations: 462.5 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.2535, allocations: 12.03 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.191e-05/0.2535, allocations: 38.73 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.274e-05/0.2536, allocations: 12.83 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.2537, allocations: 184.2 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.2537, allocations: 4.375 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.2538, allocations: 8.375 kB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.2539, allocations: 73.77 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.254, allocations: 4 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.254, allocations: 4 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.307e-06/0.254, allocations: 0 / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.2541, allocations: 43.91 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004933/0.2546, allocations: 320.6 kB / 1.068 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.2548, allocations: 66.56 kB / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.015e-05/0.2549, allocations: 36.86 kB / 1.068 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.2549, allocations: 8 kB / 1.068 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001834/0.2551, allocations: 87.36 kB / 1.068 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.2551, allocations: 0 / 1.068 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0003813/0.2555, allocations: 157.5 kB / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.2555, allocations: 63.53 kB / 1.068 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.2556, allocations: 123.5 kB / 1.069 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.2557, allocations: 33.7 kB / 1.069 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.332e-05/0.2557, allocations: 92.73 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.2558, allocations: 19.72 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-05/0.2558, allocations: 33.7 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.2559, allocations: 322.8 kB / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.262e-05/0.256, allocations: 31.92 kB / 1.069 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.2561, allocations: 73.06 kB / 1.069 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.2563, allocations: 101.1 kB / 1.069 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2563, allocations: 0 / 1.069 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000237/0.2566, allocations: 125.4 kB / 1.069 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.2566, allocations: 4 kB / 1.069 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.2566, allocations: 0 / 1.069 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.2566, allocations: 7.938 kB / 1.069 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.2567, allocations: 24.05 kB / 1.069 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.2567, allocations: 0 / 1.069 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.2568, allocations: 19.92 kB / 1.069 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.2569, allocations: 4 kB / 1.069 GB, free: 8.449 MB / 0.8262 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.409e-05/0.257, allocations: 127.7 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.257, allocations: 11.98 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003006/0.2573, allocations: 149.9 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.2573, allocations: 4 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.2573, allocations: 4 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.2573, allocations: 0 / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005539/0.2579, allocations: 426.2 kB / 1.07 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2579, allocations: 0 / 1.07 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.728e-05/0.258, allocations: 11.98 kB / 1.07 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.258, allocations: 0 / 1.07 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.258, allocations: 12 kB / 1.07 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.258, allocations: 3.938 kB / 1.07 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.258, allocations: 0 / 1.07 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.2583, allocations: 231.4 kB / 1.07 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.129e-05/0.2583, allocations: 88.95 kB / 1.07 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.2584, allocations: 0 / 1.07 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.2585, allocations: 15.92 kB / 1.07 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.424e-05/0.2585, allocations: 15.98 kB / 1.07 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.2586, allocations: 11.98 kB / 1.07 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.923e-05/0.2586, allocations: 93.14 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2586, allocations: 4 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002767/0.2589, allocations: 36 kB / 1.071 GB, free: 7.125 MB / 0.8262 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.0007779/0.2597, allocations: 0.8246 MB / 1.071 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002253/0.2599, allocations: 87.89 kB / 1.071 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2599, allocations: 0 / 1.071 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.2601, allocations: 52.17 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.2603, allocations: 15.92 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.2619, allocations: 1.581 MB / 1.073 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.2622, allocations: 0.6968 MB / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.427e-05/0.2623, allocations: 16.41 kB / 1.074 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.137e-05/0.2623, allocations: 27.42 kB / 1.074 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.2623, allocations: 0 / 1.074 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.859/2.121, allocations: 3.053 MB / 1.077 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.38/17.51, allocations: 3.812 kB / 1.077 GB, free: 0.7266 MB / 0.8262 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