Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,fileNamePrefix="Buildings_10_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.001479/0.001479, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.002025/0.002025, allocations: 190.3 kB / 16.25 MB, free: 6.152 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.314/1.314, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.358/2.358, allocations: 437 MB / 0.7101 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 59.91 kB / 0.8689 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5076/0.509, allocations: 151.6 MB / 1.017 GB, free: 2.672 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.002718/0.5118, allocations: 1.615 MB / 1.018 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.5129, allocations: 0.7673 MB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.739e-05/0.5129, allocations: 0 / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.099e-05/0.5129, allocations: 7.922 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.449e-05/0.513, allocations: 11.88 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004279/0.5135, allocations: 119.8 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000104/0.5136, allocations: 103.6 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.522e-05/0.5137, allocations: 4 kB / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.674e-05/0.5138, allocations: 47.84 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.268e-05/0.5138, allocations: 47.81 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.5139, allocations: 8 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.514, allocations: 99.84 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.577e-05/0.5141, allocations: 19.92 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.774e-05/0.5141, allocations: 47.78 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.5143, allocations: 157.8 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.5143, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.042e-06/0.5144, allocations: 3.938 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.5144, allocations: 0 / 1.02 GB, free: 15.61 MB / 0.7794 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.0006647/0.515, allocations: 0.5002 MB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.5151, allocations: 12.03 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.984e-05/0.5151, allocations: 30.75 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.492e-05/0.5152, allocations: 8.844 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.5153, allocations: 197.9 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.5153, allocations: 4.375 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.5153, allocations: 4.375 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.5155, allocations: 85.7 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.5155, allocations: 4 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.5155, allocations: 4 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.5155, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.5157, allocations: 47.95 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004776/0.5162, allocations: 336.7 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.5164, allocations: 90.62 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.897e-05/0.5165, allocations: 40.84 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.5165, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001874/0.5167, allocations: 95.34 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.393e-06/0.5167, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0003875/0.5171, allocations: 181.4 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.5171, allocations: 55.41 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.5172, allocations: 135.4 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.5173, allocations: 29.7 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.531e-05/0.5173, allocations: 100 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.5173, allocations: 31.62 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.637e-05/0.5174, allocations: 37.7 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.831e-05/0.5175, allocations: 330.8 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.293e-05/0.5176, allocations: 27.98 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.777e-05/0.5177, allocations: 65.12 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.5178, allocations: 109 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5179, allocations: 0 / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000231/0.5181, allocations: 137.4 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.5181, allocations: 7.984 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.5181, allocations: 4 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.5182, allocations: 0 / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.5183, allocations: 20.08 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.5183, allocations: 7.938 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.702e-05/0.5184, allocations: 19.89 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.5184, allocations: 4 kB / 1.023 GB, free: 12.61 MB / 0.7794 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.491e-05/0.5185, allocations: 122.2 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/0.5185, allocations: 11.91 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003225/0.5188, allocations: 174.3 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.5189, allocations: 4 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.5189, allocations: 0 / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.5189, allocations: 0 / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005581/0.5194, allocations: 463.4 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.5195, allocations: 3.984 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.855e-05/0.5195, allocations: 15.94 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.5195, allocations: 4 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.5196, allocations: 7.984 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.5196, allocations: 3.938 kB / 1.023 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.5196, allocations: 0 / 1.023 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003048/0.5199, allocations: 248.3 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.935e-05/0.5199, allocations: 92.86 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.52, allocations: 0 / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.5201, allocations: 19.92 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.5201, allocations: 15.92 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.5202, allocations: 4 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.793e-05/0.5202, allocations: 112.9 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5202, allocations: 0 / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000279/0.5205, allocations: 44 kB / 1.024 GB, free: 11.18 MB / 0.7794 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.0007125/0.5212, allocations: 0.8455 MB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002339/0.5215, allocations: 99.83 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5215, allocations: 0 / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.5216, allocations: 64.09 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.5219, allocations: 23.78 kB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.5234, allocations: 1.697 MB / 1.026 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/0.5236, allocations: 0.704 MB / 1.027 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.965e-05/0.5237, allocations: 12.55 kB / 1.027 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.889e-05/0.5237, allocations: 31.42 kB / 1.027 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.5237, allocations: 4 kB / 1.027 GB, free: 7.566 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.558/3.082, allocations: 3.271 MB / 1.03 GB, free: 4.445 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000289/3.082, allocations: 261.5 kB / 1.031 GB, free: 4.188 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.095/5.177, allocations: 3.875 kB / 1.031 GB, free: 4.188 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.fmu > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches