Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Gunay2016Light,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light",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.0009442/0.0009441, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005431/0.005431, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.223/1.223, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.399/2.399, allocations: 437.8 MB / 0.7121 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003683/0.0003684, allocations: 12.28 kB / 0.8729 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6058/0.6062, allocations: 153.8 MB / 1.023 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001511/0.6078, allocations: 1.238 MB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.6089, allocations: 0.7442 MB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.358e-05/0.609, allocations: 0 / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.827e-05/0.609, allocations: 7.938 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.869e-05/0.6091, allocations: 11.92 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004214/0.6095, allocations: 103.8 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.6097, allocations: 95.64 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.752e-05/0.6097, allocations: 15.98 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.295e-05/0.6098, allocations: 35.91 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.66e-05/0.6099, allocations: 43.81 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.6099, allocations: 4 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001654/0.6101, allocations: 95.84 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.466e-05/0.6101, allocations: 15.92 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.063e-05/0.6102, allocations: 65.5 kB / 1.026 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.6104, allocations: 153.9 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.6104, allocations: 0 / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6104, allocations: 3.938 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.6104, allocations: 0 / 1.026 GB, free: 13.3 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.0006376/0.6111, allocations: 492.2 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.6111, allocations: 8.031 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.82e-05/0.6112, allocations: 38.75 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.6112, allocations: 12.83 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.6113, allocations: 172.2 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.6114, allocations: 4.375 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.6114, allocations: 8.375 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.6116, allocations: 93.64 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.6116, allocations: 0 / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.6116, allocations: 4 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.6117, allocations: 4 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.6118, allocations: 55.94 kB / 1.027 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000508/0.6123, allocations: 340.6 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002235/0.6126, allocations: 90.69 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.819e-05/0.6127, allocations: 48.83 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.6127, allocations: 0 / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002113/0.6129, allocations: 99.3 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.6129, allocations: 0 / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.000428/0.6134, allocations: 189.4 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.6134, allocations: 55.41 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.965e-05/0.6135, allocations: 132.1 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.6135, allocations: 25.7 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.184e-05/0.6136, allocations: 100 kB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.6136, allocations: 23.66 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.6137, allocations: 21.7 kB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.835e-05/0.6138, allocations: 330.8 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.475e-05/0.6139, allocations: 35.98 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.984e-05/0.614, allocations: 61.14 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.6142, allocations: 117 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6142, allocations: 0 / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000259/0.6144, allocations: 141.4 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.6145, allocations: 5.562 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.6145, allocations: 8.094 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.6145, allocations: 0 / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.6146, allocations: 23.92 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.6146, allocations: 11.92 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.6147, allocations: 15.89 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.6148, allocations: 4 kB / 1.028 GB, free: 10.3 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 0.0001044/0.6149, allocations: 131.9 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.6149, allocations: 7.906 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003455/0.6152, allocations: 170.3 kB / 1.029 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.6153, allocations: 4 kB / 1.029 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.6153, allocations: 0 / 1.029 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.6153, allocations: 3.938 kB / 1.029 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006018/0.6159, allocations: 454.4 kB / 1.029 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.6159, allocations: 3.984 kB / 1.029 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.141e-05/0.616, allocations: 15.94 kB / 1.029 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.616, allocations: 0 / 1.029 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.616, allocations: 11.98 kB / 1.029 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.616, allocations: 7.938 kB / 1.029 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.616, allocations: 0 / 1.029 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003223/0.6164, allocations: 251.3 kB / 1.029 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.343e-05/0.6164, allocations: 81.02 kB / 1.029 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.6164, allocations: 4 kB / 1.029 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.6166, allocations: 19.92 kB / 1.029 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/0.6166, allocations: 11.98 kB / 1.029 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.6166, allocations: 4 kB / 1.029 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.975e-05/0.6167, allocations: 108.6 kB / 1.03 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6167, allocations: 0 / 1.03 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003207/0.617, allocations: 43.94 kB / 1.03 GB, free: 8.883 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 (13): * Single equations (assignments): 10 * 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.0008649/0.6179, allocations: 0.8312 MB / 1.03 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002452/0.6182, allocations: 99.95 kB / 1.031 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6182, allocations: 4.062 kB / 1.031 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.6183, allocations: 59.91 kB / 1.031 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.6186, allocations: 19.86 kB / 1.031 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.6204, allocations: 1.675 MB / 1.032 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.6207, allocations: 0.6965 MB / 1.033 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.272e-05/0.6207, allocations: 12.44 kB / 1.033 GB, free: 5.34 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.264e-05/0.6208, allocations: 35.42 kB / 1.033 GB, free: 5.305 MB / 0.7794 GB Notification: Performance of SimCode: time 1.823e-06/0.6208, allocations: 0 / 1.033 GB, free: 5.305 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3627/0.9835, allocations: 2.938 MB / 1.036 GB, free: 2.523 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002285/0.9838, allocations: 258.8 kB / 1.036 GB, free: 2.266 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.901/3.885, allocations: 7.938 kB / 1.036 GB, free: 2.258 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.fmu > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches