Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 107.5 kB / 16.45 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 196.6 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.764/2.764, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 GB " [Timeout remaining time 177] 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.Gunay2016Light,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 71.88 kB / 1.104 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8274/0.8293, allocations: 168.7 MB / 1.269 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.003227/0.8326, allocations: 1.542 MB / 1.27 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001609/0.8342, allocations: 0.7533 MB / 1.271 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.798e-05/0.8342, allocations: 4 kB / 1.271 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.885e-05/0.8343, allocations: 7.875 kB / 1.271 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.8344, allocations: 23.78 kB / 1.271 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006817/0.8351, allocations: 127.6 kB / 1.271 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000169/0.8352, allocations: 95.7 kB / 1.271 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.501e-05/0.8353, allocations: 15.92 kB / 1.271 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.8355, allocations: 47.84 kB / 1.271 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.84e-05/0.8355, allocations: 39.83 kB / 1.271 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.8356, allocations: 8 kB / 1.271 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002373/0.8358, allocations: 111.8 kB / 1.271 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.036e-05/0.8358, allocations: 23.91 kB / 1.271 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.304e-05/0.8359, allocations: 39.8 kB / 1.271 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003257/0.8362, allocations: 165.3 kB / 1.272 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.8362, allocations: 0 / 1.272 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.442e-06/0.8362, allocations: 0 / 1.272 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.8362, allocations: 4 kB / 1.272 GB, free: 2.156 MB / 0.9669 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.0009143/0.8372, allocations: 0.496 MB / 1.272 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.8372, allocations: 8.031 kB / 1.272 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.763e-05/0.8373, allocations: 34.75 kB / 1.272 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.612e-05/0.8373, allocations: 12.89 kB / 1.272 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.8375, allocations: 176.3 kB / 1.272 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.8375, allocations: 4.375 kB / 1.272 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.8375, allocations: 12.38 kB / 1.272 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.8377, allocations: 85.64 kB / 1.272 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.8377, allocations: 4 kB / 1.272 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.8378, allocations: 0 / 1.272 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.8378, allocations: 0 / 1.272 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.8379, allocations: 55.95 kB / 1.272 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000609/0.8385, allocations: 332.7 kB / 1.273 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/0.8388, allocations: 74.67 kB / 1.273 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.093e-05/0.8388, allocations: 32.84 kB / 1.273 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.8389, allocations: 7.984 kB / 1.273 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002781/0.8392, allocations: 103.4 kB / 1.273 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.483e-06/0.8392, allocations: 0 / 1.273 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0004656/0.8396, allocations: 177.5 kB / 1.273 GB, free: 372 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.8397, allocations: 51.41 kB / 1.273 GB, free: 308 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.8398, allocations: 140.1 kB / 1.273 GB, free: 156 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 9.375e-05/0.8399, allocations: 33.7 kB / 1.273 GB, free: 116 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.268e-05/0.84, allocations: 92.12 kB / 1.273 GB, free: 20 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.042e-05/0.84, allocations: 23.91 kB / 1.274 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.81e-05/0.8401, allocations: 33.66 kB / 1.274 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000262/0.8403, allocations: 326.8 kB / 1.274 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.546e-05/0.8404, allocations: 27.98 kB / 1.274 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.8405, allocations: 77 kB / 1.274 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.8408, allocations: 113 kB / 1.274 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.8408, allocations: 4 kB / 1.274 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002739/0.841, allocations: 137.4 kB / 1.274 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.841, allocations: 4 kB / 1.274 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.8411, allocations: 4.094 kB / 1.274 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.8411, allocations: 4 kB / 1.274 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.8412, allocations: 19.92 kB / 1.274 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.8412, allocations: 7.922 kB / 1.274 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.8413, allocations: 12 kB / 1.274 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.8413, allocations: 4 kB / 1.274 GB, free: 15.18 MB / 0.9825 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.000118/0.8414, allocations: 127.9 kB / 1.274 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.8414, allocations: 7.953 kB / 1.274 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003885/0.8418, allocations: 170.2 kB / 1.275 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.8418, allocations: 4 kB / 1.275 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.8418, allocations: 0 / 1.275 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.8419, allocations: 0 / 1.275 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000706/0.8426, allocations: 450.3 kB / 1.275 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.8426, allocations: 3.938 kB / 1.275 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.759e-05/0.8426, allocations: 15.98 kB / 1.275 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.8426, allocations: 4 kB / 1.275 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.8427, allocations: 0 / 1.275 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.8427, allocations: 3.938 kB / 1.275 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.8427, allocations: 0 / 1.275 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/0.843, allocations: 243.4 kB / 1.275 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.8432, allocations: 85.06 kB / 1.275 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/0.8432, allocations: 11.88 kB / 1.275 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.8433, allocations: 15.98 kB / 1.275 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/0.8434, allocations: 7.984 kB / 1.275 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/0.8434, allocations: 11.98 kB / 1.275 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.42e-05/0.8435, allocations: 97.94 kB / 1.275 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8435, allocations: 0 / 1.275 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004295/0.8439, allocations: 47.88 kB / 1.276 GB, free: 13.79 MB / 0.9825 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.001305/0.8452, allocations: 0.8443 MB / 1.276 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003335/0.8455, allocations: 95.83 kB / 1.276 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.8455, allocations: 192 / 1.276 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.8457, allocations: 51.97 kB / 1.276 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.846, allocations: 27.84 kB / 1.276 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002411/0.8484, allocations: 1.647 MB / 1.278 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.8488, allocations: 0.6968 MB / 1.279 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.415e-05/0.8489, allocations: 12.42 kB / 1.279 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.558e-05/0.8489, allocations: 35.42 kB / 1.279 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of SimCode: time 7.12e-07/0.8489, allocations: 0 / 1.279 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02938/0.8783, allocations: 3.337 MB / 1.282 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.276/9.154, allocations: 10.8 kB / 1.282 GB, free: 7.016 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.fmu > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.150919039733708]