Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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: translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009916/0.0009917, allocations: 112.6 kB / 16.37 MB, free: 6 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.00108/0.001081, allocations: 196 kB / 17.31 MB, free: 5.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.303/1.303, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.459/2.459, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 64.09 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2823, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.002585/0.2849, allocations: 1.562 MB / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001274/0.2862, allocations: 0.771 MB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.884e-05/0.2863, allocations: 0 / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.007e-05/0.2863, allocations: 7.875 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.571e-05/0.2864, allocations: 27.78 kB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004888/0.2869, allocations: 127.6 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000135/0.2871, allocations: 99.64 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.478e-05/0.2872, allocations: 15.98 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.685e-05/0.2873, allocations: 43.83 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.073e-05/0.2874, allocations: 55.77 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.2874, allocations: 11.98 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001887/0.2876, allocations: 91.86 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.941e-05/0.2876, allocations: 19.97 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.149e-05/0.2877, allocations: 43.73 kB / 1.03 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.2879, allocations: 171.5 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2879, allocations: 3.938 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2879, allocations: 0 / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.288, allocations: 0 / 1.03 GB, free: 15 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000808/0.2888, allocations: 0.4963 MB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.2888, allocations: 8.031 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.759e-05/0.2889, allocations: 16.69 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.289, allocations: 176.2 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.289, allocations: 8.375 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.2891, allocations: 4.375 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.2893, allocations: 89.88 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.2893, allocations: 0 / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.2893, allocations: 4 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.2893, allocations: 4 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.2895, allocations: 43.97 kB / 1.031 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005397/0.29, allocations: 328.7 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/0.2903, allocations: 94.69 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.998e-05/0.2904, allocations: 32.84 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.2904, allocations: 11.98 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002625/0.2907, allocations: 99.23 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.613e-06/0.2907, allocations: 0 / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0004327/0.2911, allocations: 173.5 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/0.2912, allocations: 63.39 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.2913, allocations: 135.5 kB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.2913, allocations: 29.7 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.469e-05/0.2914, allocations: 100 kB / 1.032 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.2914, allocations: 27.59 kB / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-05/0.2915, allocations: 37.7 kB / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.2916, allocations: 326.8 kB / 1.032 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.593e-05/0.2917, allocations: 31.98 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.644e-05/0.2918, allocations: 69.12 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.292, allocations: 113 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.292, allocations: 0 / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002485/0.2923, allocations: 137.4 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.2923, allocations: 4 kB / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2923, allocations: 4 kB / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.2923, allocations: 0 / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.2924, allocations: 15.98 kB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.2924, allocations: 4 kB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.2926, allocations: 19.92 kB / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.2926, allocations: 12 kB / 1.032 GB, free: 12.05 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,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 0.0001201/0.2927, allocations: 130.7 kB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.225e-05/0.2927, allocations: 11.84 kB / 1.032 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003712/0.2931, allocations: 178 kB / 1.033 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2931, allocations: 0 / 1.033 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.2931, allocations: 4 kB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2931, allocations: 4 kB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006112/0.2938, allocations: 458.2 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2938, allocations: 0 / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.711e-05/0.2939, allocations: 23.92 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.2939, allocations: 0 / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.2939, allocations: 4 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.2939, allocations: 0 / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2939, allocations: 3.938 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003202/0.2942, allocations: 247.4 kB / 1.033 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.447e-05/0.2943, allocations: 96.91 kB / 1.033 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.2943, allocations: 0 / 1.033 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.2945, allocations: 7.984 kB / 1.033 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.757e-05/0.2945, allocations: 19.92 kB / 1.033 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.2946, allocations: 4 kB / 1.033 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.244e-05/0.2946, allocations: 117.1 kB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.663e-06/0.2946, allocations: 0 / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003294/0.295, allocations: 43.94 kB / 1.034 GB, free: 10.62 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0003145/0.2953, allocations: 155 kB / 1.034 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002657/0.2956, allocations: 99.83 kB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2956, allocations: 0 / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.2957, allocations: 63.91 kB / 1.034 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.296, allocations: 21.42 kB / 1.034 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000469/0.2965, allocations: 234.8 kB / 1.034 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.2968, allocations: 0.7004 MB / 1.035 GB, free: 9.312 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.848e-05/0.2969, allocations: 8.547 kB / 1.035 GB, free: 9.305 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.231e-05/0.2969, allocations: 19.44 kB / 1.035 GB, free: 9.285 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.2969, allocations: 0 / 1.035 GB, free: 9.285 MB / 0.8106 GB Notification: Performance of Templates: time 0.004953/0.3019, allocations: 2.003 MB / 1.037 GB, free: 7.289 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches