Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.Reinhart2003Light,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",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.00224/0.00224, allocations: 108 kB / 15.61 MB, free: 152 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.00219/0.00219, allocations: 197 kB / 16.54 MB, free: 6.664 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.197/1.197, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.387/2.387, allocations: 469.8 MB / 0.7424 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 62.94 kB / 0.9087 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2447, allocations: 159.1 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.002372/0.2472, allocations: 1.555 MB / 1.066 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001088/0.2483, allocations: 0.7673 MB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.28e-05/0.2483, allocations: 0 / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.986e-05/0.2483, allocations: 7.875 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.983e-05/0.2484, allocations: 11.81 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000423/0.2488, allocations: 135.6 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.249, allocations: 103.6 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.163e-05/0.2491, allocations: 12 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.294e-05/0.2491, allocations: 47.83 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.478e-05/0.2492, allocations: 47.77 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.2493, allocations: 8 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001622/0.2494, allocations: 95.91 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.618e-05/0.2495, allocations: 19.92 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.948e-05/0.2495, allocations: 47.72 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000214/0.2497, allocations: 167.7 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.2497, allocations: 0 / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.91e-07/0.2497, allocations: 0 / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.2498, allocations: 4 kB / 1.067 GB, free: 11.18 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006907/0.2504, allocations: 0.5016 MB / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.2505, allocations: 12.03 kB / 1.068 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.824e-05/0.2505, allocations: 34.75 kB / 1.068 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.157e-05/0.2506, allocations: 8.844 kB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.2507, allocations: 184.2 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.2507, allocations: 384 / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.2507, allocations: 12.38 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.2509, allocations: 85.7 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.2509, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.2509, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.2509, allocations: 4 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.2511, allocations: 51.95 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004723/0.2516, allocations: 332.6 kB / 1.068 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.2517, allocations: 82.66 kB / 1.068 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.951e-05/0.2518, allocations: 36.84 kB / 1.068 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.2519, allocations: 4 kB / 1.068 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001816/0.252, allocations: 103.3 kB / 1.068 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.393e-06/0.2521, allocations: 0 / 1.068 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0003627/0.2524, allocations: 173.5 kB / 1.069 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.2525, allocations: 55.41 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.2526, allocations: 143.6 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.2526, allocations: 25.7 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.495e-05/0.2527, allocations: 108 kB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.2527, allocations: 23.7 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-05/0.2528, allocations: 37.7 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.2529, allocations: 322.8 kB / 1.069 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.081e-05/0.2529, allocations: 27.98 kB / 1.069 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.766e-05/0.253, allocations: 78.95 kB / 1.069 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.2532, allocations: 109 kB / 1.069 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2532, allocations: 0 / 1.069 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002259/0.2535, allocations: 141.3 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.2535, allocations: 9.656 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2535, allocations: 8.094 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.2535, allocations: 4 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.164e-05/0.2536, allocations: 15.98 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.2536, allocations: 7.938 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.815e-05/0.2537, allocations: 15.92 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.2537, allocations: 8 kB / 1.07 GB, free: 8.176 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,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 8.919e-05/0.2538, allocations: 121.8 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.026e-05/0.2539, allocations: 11.91 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003116/0.2542, allocations: 175.1 kB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.2542, allocations: 3.938 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2542, allocations: 4 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.2542, allocations: 0 / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000557/0.2548, allocations: 466.9 kB / 1.07 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2548, allocations: 4 kB / 1.07 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.096e-05/0.2548, allocations: 12 kB / 1.07 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2549, allocations: 0 / 1.07 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.2549, allocations: 11.98 kB / 1.07 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.2549, allocations: 3.938 kB / 1.07 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2549, allocations: 0 / 1.07 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.2552, allocations: 244.4 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.406e-05/0.2552, allocations: 85.02 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.2553, allocations: 8 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.2554, allocations: 11.92 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.2554, allocations: 16.06 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.2554, allocations: 11.98 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.498e-05/0.2555, allocations: 105.2 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2555, allocations: 0 / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002589/0.2558, allocations: 43.98 kB / 1.071 GB, free: 6.762 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 (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.0007509/0.2565, allocations: 0.8466 MB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002309/0.2568, allocations: 107.9 kB / 1.072 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.2568, allocations: 0 / 1.072 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.2569, allocations: 57.03 kB / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.2572, allocations: 23.92 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.2588, allocations: 1.665 MB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.2591, allocations: 0.7002 MB / 1.074 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.602e-05/0.2591, allocations: 20.41 kB / 1.074 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.784e-05/0.2592, allocations: 35.42 kB / 1.074 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of SimCode: time 2.01e-07/0.2592, allocations: 0 / 1.074 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 10.78/11.04, allocations: 3.417 MB / 1.078 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.965/21.01, allocations: 4.719 kB / 1.078 GB, free: 15.85 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.fmu > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches