Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Hunt1979Light,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",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.001044/0.001044, allocations: 92.23 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.008233/0.008233, allocations: 169.9 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.377/1.377, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.511/2.511, allocations: 462.6 MB / 0.7364 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000475/0.0004751, allocations: 10.25 kB / 0.9029 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2315, allocations: 159.6 MB / 1.059 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001336/0.2329, allocations: 1.248 MB / 1.06 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.234, allocations: 0.744 MB / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.327e-05/0.234, allocations: 0 / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.446e-05/0.2341, allocations: 0 / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.967e-05/0.2341, allocations: 23.84 kB / 1.061 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003763/0.2345, allocations: 103.8 kB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.767e-05/0.2346, allocations: 87.7 kB / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.533e-05/0.2347, allocations: 8 kB / 1.061 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.328e-05/0.2348, allocations: 43.84 kB / 1.061 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.996e-05/0.2349, allocations: 31.83 kB / 1.061 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.2349, allocations: 4 kB / 1.061 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.235, allocations: 95.84 kB / 1.061 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/0.2351, allocations: 15.92 kB / 1.061 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.903e-05/0.2351, allocations: 57.5 kB / 1.061 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.2353, allocations: 155.8 kB / 1.061 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.2353, allocations: 0 / 1.061 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.31e-07/0.2353, allocations: 0 / 1.061 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.287e-06/0.2353, allocations: 0 / 1.061 GB, free: 2.191 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.0006023/0.2359, allocations: 462.6 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.236, allocations: 15.91 kB / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.752e-05/0.236, allocations: 38.75 kB / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.131e-05/0.2361, allocations: 8.844 kB / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.2362, allocations: 176.2 kB / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.368e-05/0.2363, allocations: 46.14 kB / 1.062 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.2363, allocations: 4.375 kB / 1.062 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.2365, allocations: 81.58 kB / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.51e-06/0.2365, allocations: 4 kB / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.2365, allocations: 0 / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.2365, allocations: 0 / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/0.2367, allocations: 51.95 kB / 1.062 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004479/0.2371, allocations: 332.6 kB / 1.062 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.2373, allocations: 70.53 kB / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.2374, allocations: 40.84 kB / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.2375, allocations: 8.141 kB / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000213/0.2377, allocations: 99.38 kB / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.2377, allocations: 0 / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0004232/0.2381, allocations: 181.4 kB / 1.063 GB, free: 416 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.2382, allocations: 51.41 kB / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.007e-05/0.2383, allocations: 136.5 kB / 1.063 GB, free: 204 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.2383, allocations: 29.7 kB / 1.063 GB, free: 168 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.802e-05/0.2383, allocations: 96.28 kB / 1.063 GB, free: 64 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.2384, allocations: 20.11 kB / 1.063 GB, free: 44 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.82e-05/0.2384, allocations: 21.72 kB / 1.063 GB, free: 16 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.2385, allocations: 326.8 kB / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.2386, allocations: 31.97 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.2387, allocations: 77.06 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.239, allocations: 109 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.239, allocations: 4 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002674/0.2392, allocations: 141.3 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.2393, allocations: 4 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.2393, allocations: 4 kB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.2393, allocations: 0 / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.2394, allocations: 19.97 kB / 1.064 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.2394, allocations: 8.125 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.2395, allocations: 23.92 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.2395, allocations: 4 kB / 1.064 GB, free: 15.23 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 8.337e-05/0.2396, allocations: 121.8 kB / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.605e-05/0.2396, allocations: 7.906 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.853e-05/0.2397, allocations: 16.7 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.2397, allocations: 7.938 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.2397, allocations: 0 / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2397, allocations: 0 / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005453/0.2403, allocations: 438.2 kB / 1.064 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2403, allocations: 4 kB / 1.064 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.781e-05/0.2403, allocations: 15.92 kB / 1.065 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2403, allocations: 0 / 1.065 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.2404, allocations: 3.984 kB / 1.065 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.2404, allocations: 3.938 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.2404, allocations: 4 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003109/0.2407, allocations: 231.3 kB / 1.065 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.835e-05/0.2407, allocations: 85.02 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.2408, allocations: 7.984 kB / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.2409, allocations: 19.92 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.2409, allocations: 8.172 kB / 1.065 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.241, allocations: 8 kB / 1.065 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.918e-05/0.241, allocations: 99.2 kB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.241, allocations: 4 kB / 1.065 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003009/0.2413, allocations: 43.98 kB / 1.065 GB, free: 14.02 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 (10): * Single equations (assignments): 7 * 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.0006958/0.242, allocations: 0.82 MB / 1.066 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002532/0.2423, allocations: 91.83 kB / 1.066 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2423, allocations: 256 / 1.066 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.2424, allocations: 52.06 kB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.2427, allocations: 25.88 kB / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.2443, allocations: 1.654 MB / 1.068 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002071/0.2445, allocations: 0.6965 MB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.459e-05/0.2446, allocations: 12.66 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.733e-05/0.2446, allocations: 27.42 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.2446, allocations: 0 / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7181/0.9627, allocations: 2.728 MB / 1.071 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002485/0.963, allocations: 257.3 kB / 1.071 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.876/2.839, allocations: 0 / 1.071 GB, free: 7.668 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.fmu > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches