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.006131/0.006131, allocations: 98.02 kB / 15.73 MB, free: 6.062 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.001675/0.001675, allocations: 193.7 kB / 16.67 MB, free: 5.969 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.274/1.274, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.507/2.507, allocations: 469.8 MB / 0.7425 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 59.91 kB / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6074/0.6092, allocations: 159.1 MB / 1.22 GB, free: 2.152 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.002629/0.6119, allocations: 1.546 MB / 1.222 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.6133, allocations: 0.7604 MB / 1.222 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5e-05/0.6133, allocations: 3.938 kB / 1.222 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.301e-05/0.6134, allocations: 11.88 kB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.032e-05/0.6135, allocations: 23.78 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005196/0.614, allocations: 127.6 kB / 1.223 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000149/0.6142, allocations: 99.64 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.497e-05/0.6142, allocations: 15.97 kB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.6144, allocations: 47.83 kB / 1.223 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.689e-05/0.6145, allocations: 51.77 kB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.6145, allocations: 8 kB / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001942/0.6147, allocations: 95.91 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.101e-05/0.6147, allocations: 23.91 kB / 1.223 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.575e-05/0.6148, allocations: 39.8 kB / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002618/0.615, allocations: 167 kB / 1.223 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.6151, allocations: 0 / 1.223 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6151, allocations: 0 / 1.223 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.6151, allocations: 0 / 1.223 GB, free: 15.13 MB / 0.9512 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.0007572/0.6158, allocations: 0.5077 MB / 1.224 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.6159, allocations: 12.03 kB / 1.224 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.597e-05/0.6159, allocations: 34.75 kB / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.616, allocations: 12.84 kB / 1.224 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.6161, allocations: 184.2 kB / 1.224 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.6161, allocations: 12.31 kB / 1.224 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.6162, allocations: 4.375 kB / 1.224 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.6164, allocations: 77.77 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.6164, allocations: 4 kB / 1.224 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.6164, allocations: 8 kB / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.6164, allocations: 0 / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.6165, allocations: 47.95 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005168/0.6171, allocations: 328.7 kB / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.6173, allocations: 82.66 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.309e-05/0.6174, allocations: 40.84 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.6174, allocations: 3.984 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002175/0.6176, allocations: 103.4 kB / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.6177, allocations: 0 / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.0004861/0.6181, allocations: 177.5 kB / 1.225 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.6182, allocations: 63.34 kB / 1.225 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.6183, allocations: 136.1 kB / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.6184, allocations: 29.7 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.835e-05/0.6184, allocations: 100.1 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.6184, allocations: 23.8 kB / 1.225 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.784e-05/0.6185, allocations: 37.69 kB / 1.225 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.6186, allocations: 326.8 kB / 1.225 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.746e-05/0.6187, allocations: 35.92 kB / 1.225 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.6188, allocations: 69.12 kB / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.619, allocations: 101.1 kB / 1.226 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.619, allocations: 0 / 1.226 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000256/0.6193, allocations: 141.4 kB / 1.226 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.6193, allocations: 7.984 kB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.6193, allocations: 4 kB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.6193, allocations: 0 / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.6195, allocations: 23.92 kB / 1.226 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.6195, allocations: 8.094 kB / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.704e-05/0.6196, allocations: 15.92 kB / 1.226 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.6196, allocations: 4 kB / 1.226 GB, free: 12.12 MB / 0.9512 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.0001012/0.6197, allocations: 121.8 kB / 1.226 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.6197, allocations: 11.95 kB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003676/0.6201, allocations: 178.2 kB / 1.226 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.6201, allocations: 8 kB / 1.226 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.6201, allocations: 4 kB / 1.226 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.6201, allocations: 0 / 1.226 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006307/0.6208, allocations: 455.3 kB / 1.226 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.6208, allocations: 4 kB / 1.226 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.673e-05/0.6209, allocations: 15.98 kB / 1.226 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.6209, allocations: 0 / 1.226 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.6209, allocations: 7.984 kB / 1.226 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.6209, allocations: 7.938 kB / 1.227 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.6209, allocations: 0 / 1.227 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003471/0.6213, allocations: 252.3 kB / 1.227 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.412e-05/0.6213, allocations: 85.06 kB / 1.227 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.6214, allocations: 4 kB / 1.227 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.6215, allocations: 11.92 kB / 1.227 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.6215, allocations: 15.98 kB / 1.227 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.6216, allocations: 8 kB / 1.227 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.242e-05/0.6217, allocations: 113.6 kB / 1.227 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6217, allocations: 0 / 1.227 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002864/0.622, allocations: 39.94 kB / 1.227 GB, free: 10.7 MB / 0.9512 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.000869/0.6228, allocations: 0.8657 MB / 1.228 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002416/0.6231, allocations: 91.89 kB / 1.228 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.6231, allocations: 0 / 1.228 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.6232, allocations: 59.91 kB / 1.228 GB, free: 9.676 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.6235, allocations: 24.11 kB / 1.228 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.6253, allocations: 1.689 MB / 1.23 GB, free: 7.859 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.6256, allocations: 0.7007 MB / 1.23 GB, free: 7.133 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.5e-05/0.6257, allocations: 8.562 kB / 1.23 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.685e-05/0.6258, allocations: 39.41 kB / 1.23 GB, free: 7.09 MB / 0.9512 GB Notification: Performance of SimCode: time 3.21e-07/0.6258, allocations: 0 / 1.23 GB, free: 7.09 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.673/2.299, allocations: 3.461 MB / 1.234 GB, free: 3.75 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/13.84, allocations: 13.47 kB / 1.234 GB, free: 3.742 MB / 0.9512 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