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.0008426/0.0008429, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005309/0.005309, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.348/1.348, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.45/2.45, allocations: 462.7 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003072/0.0003072, allocations: 10.25 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2337, allocations: 159.6 MB / 1.059 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.001555/0.2353, allocations: 1.233 MB / 1.06 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.2365, allocations: 0.7557 MB / 1.061 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.997e-05/0.2366, allocations: 0 / 1.061 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.761e-05/0.2366, allocations: 3.938 kB / 1.061 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.349e-05/0.2367, allocations: 11.92 kB / 1.061 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004444/0.2372, allocations: 103.8 kB / 1.061 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.2373, allocations: 75.77 kB / 1.061 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.015e-05/0.2374, allocations: 15.98 kB / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.914e-05/0.2375, allocations: 35.8 kB / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.132e-05/0.2376, allocations: 39.83 kB / 1.061 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.2376, allocations: 4 kB / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001764/0.2378, allocations: 91.84 kB / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.42e-05/0.2378, allocations: 11.98 kB / 1.061 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.145e-05/0.2379, allocations: 61.5 kB / 1.061 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.2381, allocations: 143.9 kB / 1.061 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2381, allocations: 0 / 1.061 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2381, allocations: 0 / 1.061 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.2381, allocations: 0 / 1.061 GB, free: 2.293 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.0006244/0.2387, allocations: 458.7 kB / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.2388, allocations: 11.97 kB / 1.062 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.548e-05/0.2388, allocations: 34.73 kB / 1.062 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.13e-05/0.2389, allocations: 8.844 kB / 1.062 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.239, allocations: 184.2 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.239, allocations: 384 / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.239, allocations: 8.359 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.2392, allocations: 81.78 kB / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.2392, allocations: 0 / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.2392, allocations: 0 / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.2393, allocations: 0 / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.2394, allocations: 55.89 kB / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004785/0.2399, allocations: 324.7 kB / 1.062 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.24, allocations: 66.55 kB / 1.062 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.437e-05/0.2401, allocations: 32.84 kB / 1.062 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.2401, allocations: 160 / 1.062 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002042/0.2403, allocations: 111.2 kB / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.2404, allocations: 0 / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0003735/0.2407, allocations: 161.5 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.2408, allocations: 59.39 kB / 1.063 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.233e-05/0.2409, allocations: 121.8 kB / 1.063 GB, free: 404 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.2409, allocations: 33.7 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.512e-05/0.241, allocations: 92.36 kB / 1.063 GB, free: 264 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.241, allocations: 19.72 kB / 1.063 GB, free: 244 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/0.241, allocations: 21.7 kB / 1.063 GB, free: 216 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.2411, allocations: 322.8 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.429e-05/0.2412, allocations: 31.98 kB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.28e-05/0.2413, allocations: 76.33 kB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.2415, allocations: 105.1 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2415, allocations: 0 / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002384/0.2418, allocations: 129.4 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.2418, allocations: 9.562 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.2418, allocations: 0 / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.2418, allocations: 4 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.2419, allocations: 20.11 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.242, allocations: 3.938 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.2421, allocations: 27.86 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.2421, allocations: 4 kB / 1.064 GB, free: 15.45 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.439e-05/0.2422, allocations: 117.8 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.783e-05/0.2422, allocations: 7.906 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002956/0.2425, allocations: 157.8 kB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.2425, allocations: 4 kB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.2425, allocations: 0 / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.2425, allocations: 3.984 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005183/0.2431, allocations: 438.3 kB / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2431, allocations: 0 / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.538e-05/0.2431, allocations: 12.36 kB / 1.064 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.2431, allocations: 0 / 1.064 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.2432, allocations: 4 kB / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.2432, allocations: 3.938 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.2432, allocations: 11.92 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.2435, allocations: 235.4 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.472e-05/0.2435, allocations: 92.94 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.2436, allocations: 0 / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.2437, allocations: 19.92 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.2437, allocations: 11.92 kB / 1.065 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.2438, allocations: 4 kB / 1.065 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.317e-05/0.2438, allocations: 103.3 kB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2438, allocations: 0 / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002868/0.2441, allocations: 43.98 kB / 1.065 GB, free: 14.09 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.0006949/0.2448, allocations: 0.815 MB / 1.066 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002095/0.245, allocations: 87.84 kB / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.245, allocations: 0 / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.776e-05/0.2451, allocations: 52.22 kB / 1.066 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.2454, allocations: 21.8 kB / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.2472, allocations: 1.633 MB / 1.068 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.2474, allocations: 0.6926 MB / 1.068 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.847e-05/0.2475, allocations: 12.42 kB / 1.068 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.65e-05/0.2476, allocations: 27.42 kB / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of SimCode: time 3.116e-06/0.2476, allocations: 0 / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.747/1.995, allocations: 2.719 MB / 1.071 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003338/1.995, allocations: 256.2 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.34/4.335, allocations: 0 / 1.071 GB, free: 7.793 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