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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 109 kB / 17.54 MB, free: 4.781 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.001413/0.001413, allocations: 189.9 kB / 20.71 MB, free: 1.625 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.311/1.311, allocations: 225.6 MB / 249.3 MB, free: 3.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.342/2.342, allocations: 443.5 MB / 0.7304 GB, free: 14.15 MB / 0.5763 GB " [Timeout remaining time 177] 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.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 67.89 kB / 1.059 GB, free: 1.078 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2868, allocations: 160.7 MB / 1.216 GB, free: 52 kB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002658/0.2895, allocations: 1.534 MB / 1.217 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.2907, allocations: 0.7759 MB / 1.218 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.133e-05/0.2908, allocations: 3.938 kB / 1.218 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.753e-05/0.2908, allocations: 7.922 kB / 1.218 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.021e-05/0.2909, allocations: 19.86 kB / 1.218 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000466/0.2914, allocations: 131.5 kB / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.2915, allocations: 99.69 kB / 1.218 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.304e-05/0.2916, allocations: 8 kB / 1.218 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.2917, allocations: 47.77 kB / 1.218 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.353e-05/0.2917, allocations: 47.83 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.2918, allocations: 8 kB / 1.218 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001832/0.2919, allocations: 103.8 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.094e-05/0.292, allocations: 27.89 kB / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.663e-05/0.292, allocations: 35.86 kB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.2922, allocations: 171.6 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2922, allocations: 0 / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2922, allocations: 0 / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.2922, allocations: 0 / 1.218 GB, free: 13.02 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.000764/0.293, allocations: 496 kB / 1.219 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.2931, allocations: 12.03 kB / 1.219 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.966e-05/0.2931, allocations: 42.73 kB / 1.219 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.202e-05/0.2931, allocations: 8.891 kB / 1.219 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.2933, allocations: 184.2 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.2933, allocations: 4.359 kB / 1.219 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.2934, allocations: 16.31 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.2936, allocations: 77.77 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.2936, allocations: 0 / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.2936, allocations: 4 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.2936, allocations: 4 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.2937, allocations: 51.91 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005418/0.2943, allocations: 332.6 kB / 1.22 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.2945, allocations: 74.61 kB / 1.22 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.63e-05/0.2946, allocations: 40.94 kB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.2946, allocations: 11.98 kB / 1.22 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002043/0.2948, allocations: 99.3 kB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.393e-06/0.2948, allocations: 0 / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0004082/0.2952, allocations: 169.5 kB / 1.22 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.2953, allocations: 63.39 kB / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.2954, allocations: 135.5 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.2954, allocations: 29.7 kB / 1.22 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.568e-05/0.2954, allocations: 96.09 kB / 1.22 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/0.2955, allocations: 27.78 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.258e-05/0.2955, allocations: 33.7 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.2957, allocations: 318.8 kB / 1.221 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.776e-05/0.2957, allocations: 31.97 kB / 1.221 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.2959, allocations: 79.95 kB / 1.221 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.296, allocations: 101.1 kB / 1.221 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.296, allocations: 4 kB / 1.221 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002538/0.2963, allocations: 145.5 kB / 1.221 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.2963, allocations: 9.562 kB / 1.221 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.2963, allocations: 3.938 kB / 1.221 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.2963, allocations: 4 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.2964, allocations: 19.92 kB / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.2964, allocations: 0 / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.529e-05/0.2965, allocations: 15.98 kB / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.2965, allocations: 4 kB / 1.221 GB, free: 10.04 MB / 0.9669 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.0001144/0.2966, allocations: 133.8 kB / 1.221 GB, free: 9.895 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.058e-05/0.2967, allocations: 11.95 kB / 1.221 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003206/0.297, allocations: 158.2 kB / 1.221 GB, free: 9.727 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.297, allocations: 0 / 1.221 GB, free: 9.727 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.297, allocations: 0 / 1.221 GB, free: 9.727 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.297, allocations: 4 kB / 1.221 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005948/0.2976, allocations: 454.3 kB / 1.222 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2976, allocations: 3.938 kB / 1.222 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.536e-05/0.2977, allocations: 11.98 kB / 1.222 GB, free: 9.207 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2977, allocations: 0 / 1.222 GB, free: 9.207 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.2977, allocations: 8 kB / 1.222 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.2977, allocations: 3.938 kB / 1.222 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.2977, allocations: 3.984 kB / 1.222 GB, free: 9.191 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/0.298, allocations: 247.3 kB / 1.222 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.171e-05/0.2981, allocations: 93 kB / 1.222 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.2981, allocations: 3.938 kB / 1.222 GB, free: 8.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.2982, allocations: 7.984 kB / 1.222 GB, free: 8.812 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.2982, allocations: 15.98 kB / 1.222 GB, free: 8.797 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.2982, allocations: 4 kB / 1.222 GB, free: 8.793 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.197e-05/0.2983, allocations: 99.27 kB / 1.222 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.2983, allocations: 0 / 1.222 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002833/0.2986, allocations: 43.92 kB / 1.222 GB, free: 8.652 MB / 0.9669 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.0008154/0.2994, allocations: 0.8383 MB / 1.223 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002499/0.2997, allocations: 99.89 kB / 1.223 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2997, allocations: 0 / 1.223 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.2998, allocations: 47.91 kB / 1.223 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.3001, allocations: 15.92 kB / 1.223 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.3018, allocations: 1.653 MB / 1.225 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.3021, allocations: 0.7002 MB / 1.226 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.942e-05/0.3022, allocations: 4.438 kB / 1.226 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.124e-05/0.3022, allocations: 31.42 kB / 1.226 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of SimCode: time 3.81e-07/0.3022, allocations: 0 / 1.226 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02434/0.3266, allocations: 3.335 MB / 1.229 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.131/7.457, allocations: 16.12 kB / 1.229 GB, free: 1.875 MB / 0.9669 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.fmu > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.csv","/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) [Timeout 300] "Error: Could not read variable lig.occ in file Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.csv. Warning: Get data of variable lig.occ from file Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.csv failed! Error: Could not read variable lig.on in file Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.csv. Warning: Get data of variable lig.on from file Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.690114121003717]