Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_latest_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.001439/0.001439, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001594/0.001594, allocations: 195.8 kB / 16.14 MB, free: 6.645 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.437/1.437, allocations: 222.9 MB / 239.8 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.598/2.598, allocations: 461.8 MB / 0.7342 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 65.08 kB / 0.8985 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.258, allocations: 157.4 MB / 1.052 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002549/0.2606, allocations: 1.579 MB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.2618, allocations: 0.7595 MB / 1.054 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.209e-05/0.2619, allocations: 0 / 1.054 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.526e-05/0.2619, allocations: 7.922 kB / 1.054 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.117e-05/0.262, allocations: 11.92 kB / 1.054 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004392/0.2624, allocations: 103.8 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.731e-05/0.2626, allocations: 79.7 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.897e-05/0.2626, allocations: 12 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.856e-05/0.2627, allocations: 39.84 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.035e-05/0.2628, allocations: 39.77 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.2628, allocations: 4 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.263, allocations: 95.84 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.542e-05/0.263, allocations: 15.92 kB / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.492e-05/0.2631, allocations: 31.84 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.2633, allocations: 143.9 kB / 1.055 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.2633, allocations: 0 / 1.055 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.001e-06/0.2633, allocations: 0 / 1.055 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.2633, allocations: 0 / 1.055 GB, free: 5.324 MB / 0.8106 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.000654/0.264, allocations: 462.6 kB / 1.055 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.264, allocations: 19.97 kB / 1.055 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.735e-05/0.2641, allocations: 34.73 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.2641, allocations: 8.844 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.2642, allocations: 179.1 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.2643, allocations: 8.312 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.2643, allocations: 4.375 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.2645, allocations: 77.77 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.2645, allocations: 0 / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.2645, allocations: 0 / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.2645, allocations: 7.984 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.2646, allocations: 43.97 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004801/0.2651, allocations: 328.5 kB / 1.056 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.2653, allocations: 58.56 kB / 1.056 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.509e-05/0.2654, allocations: 36.84 kB / 1.056 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.2654, allocations: 4 kB / 1.056 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002128/0.2656, allocations: 95.38 kB / 1.056 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.2656, allocations: 0 / 1.056 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0003799/0.266, allocations: 157.4 kB / 1.056 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.2661, allocations: 63.41 kB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.269e-05/0.2662, allocations: 121.8 kB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.2662, allocations: 33.7 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.315e-05/0.2662, allocations: 92.27 kB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.2663, allocations: 15.81 kB / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.111e-05/0.2663, allocations: 33.7 kB / 1.057 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.597e-05/0.2664, allocations: 322.8 kB / 1.057 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.439e-05/0.2665, allocations: 27.98 kB / 1.057 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.884e-05/0.2666, allocations: 69.12 kB / 1.057 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.2668, allocations: 105 kB / 1.057 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2668, allocations: 0 / 1.057 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002307/0.267, allocations: 129.3 kB / 1.057 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.267, allocations: 8 kB / 1.057 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.267, allocations: 0 / 1.057 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.267, allocations: 7.938 kB / 1.057 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.2672, allocations: 11.98 kB / 1.057 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.2672, allocations: 4.125 kB / 1.057 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.2673, allocations: 27.86 kB / 1.058 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.2673, allocations: 4 kB / 1.058 GB, free: 2.492 MB / 0.8106 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 8.521e-05/0.2674, allocations: 119.3 kB / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.145e-05/0.2674, allocations: 11.89 kB / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003145/0.2677, allocations: 149.9 kB / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.2678, allocations: 4 kB / 1.058 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.2678, allocations: 4 kB / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.2678, allocations: 0 / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005908/0.2684, allocations: 426.4 kB / 1.058 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.2684, allocations: 0 / 1.058 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.475e-05/0.2685, allocations: 15.92 kB / 1.058 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2685, allocations: 96 / 1.058 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.2685, allocations: 7.984 kB / 1.058 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.2685, allocations: 7.938 kB / 1.058 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2685, allocations: 0 / 1.058 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003123/0.2688, allocations: 227.3 kB / 1.058 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.174e-05/0.2689, allocations: 88.95 kB / 1.059 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.2689, allocations: 0 / 1.059 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.269, allocations: 15.92 kB / 1.059 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.266e-05/0.2691, allocations: 12.36 kB / 1.059 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.2691, allocations: 11.98 kB / 1.059 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.404e-05/0.2692, allocations: 98.02 kB / 1.059 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2692, allocations: 3.938 kB / 1.059 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003102/0.2695, allocations: 43.94 kB / 1.059 GB, free: 1.168 MB / 0.8106 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.0008392/0.2704, allocations: 0.8172 MB / 1.06 GB, free: 348 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002329/0.2706, allocations: 79.89 kB / 1.06 GB, free: 268 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2706, allocations: 3.938 kB / 1.06 GB, free: 264 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.2707, allocations: 47.98 kB / 1.06 GB, free: 216 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.2711, allocations: 20.17 kB / 1.06 GB, free: 196 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.2729, allocations: 1.607 MB / 1.061 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.2732, allocations: 0.6965 MB / 1.062 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.43e-05/0.2732, allocations: 8.422 kB / 1.062 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.2733, allocations: 27.36 kB / 1.062 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.2733, allocations: 4 kB / 1.062 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1213/0.3946, allocations: 2.826 MB / 1.065 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000255/0.3949, allocations: 256.4 kB / 1.065 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.186/2.581, allocations: 4.188 kB / 1.065 GB, free: 10.75 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches