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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 108 kB / 15.61 MB, free: 148 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.001366/0.001366, allocations: 194.4 kB / 16.53 MB, free: 6.656 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.264/1.264, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.496/2.496, allocations: 469.8 MB / 0.7424 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 61.8 kB / 0.9086 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.236, allocations: 159.2 MB / 1.064 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002495/0.2385, allocations: 1.53 MB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001192/0.2397, allocations: 0.7517 MB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.766e-05/0.2398, allocations: 0 / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.695e-05/0.2398, allocations: 7.875 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.556e-05/0.2399, allocations: 15.86 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004715/0.2404, allocations: 139.5 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.2405, allocations: 95.7 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.533e-05/0.2406, allocations: 8 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.941e-05/0.2407, allocations: 47.83 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.77e-05/0.2408, allocations: 43.83 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.2408, allocations: 8 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.241, allocations: 95.91 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.829e-05/0.241, allocations: 27.91 kB / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.052e-05/0.2411, allocations: 39.8 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.2413, allocations: 163.8 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.2413, allocations: 3.938 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2413, allocations: 0 / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.818e-06/0.2413, allocations: 0 / 1.067 GB, free: 11.29 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.0006673/0.242, allocations: 496.2 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.242, allocations: 12.03 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.364e-05/0.2421, allocations: 34.75 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.2421, allocations: 12.83 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.2423, allocations: 180.2 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.2423, allocations: 384 / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.2423, allocations: 12.38 kB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.2425, allocations: 89.64 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.2425, allocations: 0 / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.2425, allocations: 0 / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.2425, allocations: 11.98 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.2427, allocations: 55.95 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004987/0.2432, allocations: 332.6 kB / 1.068 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.2434, allocations: 78.67 kB / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.733e-05/0.2435, allocations: 44.84 kB / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.2435, allocations: 3.984 kB / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002053/0.2437, allocations: 103.4 kB / 1.068 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 3.987e-06/0.2437, allocations: 0 / 1.068 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0003873/0.2441, allocations: 177.4 kB / 1.069 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.2442, allocations: 59.41 kB / 1.069 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.2443, allocations: 128.1 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.2443, allocations: 33.7 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.443e-05/0.2444, allocations: 100 kB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.2444, allocations: 23.66 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.912e-05/0.2445, allocations: 29.7 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.2446, allocations: 326.8 kB / 1.069 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.464e-05/0.2447, allocations: 27.98 kB / 1.069 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.815e-05/0.2448, allocations: 77.06 kB / 1.069 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.245, allocations: 109.1 kB / 1.069 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.245, allocations: 0 / 1.069 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002374/0.2452, allocations: 133.4 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.2452, allocations: 7.938 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2452, allocations: 3.984 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.2453, allocations: 4 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.2454, allocations: 19.92 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.2454, allocations: 4 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.669e-05/0.2455, allocations: 19.94 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.2455, allocations: 7.984 kB / 1.07 GB, free: 8.293 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 9.504e-05/0.2456, allocations: 125.8 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.008e-05/0.2456, allocations: 8.047 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000311/0.2459, allocations: 159.5 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2459, allocations: 4 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.2459, allocations: 0 / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.246, allocations: 4 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005657/0.2465, allocations: 450.3 kB / 1.07 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2465, allocations: 3.938 kB / 1.07 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.831e-05/0.2466, allocations: 15.98 kB / 1.07 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2466, allocations: 0 / 1.07 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.2466, allocations: 0 / 1.07 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.2466, allocations: 3.938 kB / 1.07 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.2467, allocations: 4 kB / 1.07 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002986/0.247, allocations: 244.4 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.785e-05/0.247, allocations: 92.89 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.247, allocations: 8 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.2472, allocations: 15.92 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.009e-05/0.2472, allocations: 11.98 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.2472, allocations: 7.984 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.57e-05/0.2473, allocations: 105.2 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2473, allocations: 0 / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002802/0.2476, allocations: 44 kB / 1.071 GB, free: 6.91 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 (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.0007812/0.2484, allocations: 0.8324 MB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000241/0.2486, allocations: 99.88 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.2486, allocations: 0 / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.2488, allocations: 52.8 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.249, allocations: 32.05 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.2507, allocations: 1.628 MB / 1.073 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.251, allocations: 0.7002 MB / 1.074 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.453e-05/0.251, allocations: 8.422 kB / 1.074 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.655e-05/0.2511, allocations: 31.42 kB / 1.074 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of SimCode: time 1.9e-07/0.2511, allocations: 0 / 1.074 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.718/5.97, allocations: 3.267 MB / 1.077 GB, free: 224 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/17.53, allocations: 8.812 kB / 1.077 GB, free: 216 kB / 0.8262 GB (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 --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) 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/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches