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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 114.5 kB / 18.94 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 216 kB / 22.25 MB, free: 5.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.547/1.547, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.865/2.865, allocations: 476.7 MB / 0.7707 GB, free: 4.324 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 65.05 kB / 1.117 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3618, allocations: 170 MB / 1.283 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.00312/0.3649, allocations: 1.561 MB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001945/0.3668, allocations: 0.8353 MB / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.367, allocations: 0 / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.009e-05/0.367, allocations: 7.875 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.3672, allocations: 19.86 kB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009365/0.3681, allocations: 159.5 kB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002226/0.3683, allocations: 99.64 kB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.3685, allocations: 12.23 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002543/0.3687, allocations: 55.77 kB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.3688, allocations: 51.81 kB / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.865e-05/0.3689, allocations: 8 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003846/0.3693, allocations: 139.8 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.047e-05/0.3693, allocations: 23.91 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.638e-05/0.3694, allocations: 39.78 kB / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004712/0.3699, allocations: 174.9 kB / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.031e-05/0.3699, allocations: 11.94 kB / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.326e-06/0.3699, allocations: 0 / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.188e-05/0.3699, allocations: 0 / 1.286 GB, free: 8.602 MB / 0.9825 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.001078/0.371, allocations: 424.6 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.741e-05/0.371, allocations: 8.031 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.382e-05/0.3711, allocations: 30.75 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004014/0.3715, allocations: 40.86 kB / 1.287 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004634/0.372, allocations: 144.7 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.372, allocations: 8.312 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.372, allocations: 8.375 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.3723, allocations: 77.77 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.3723, allocations: 0 / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.3723, allocations: 0 / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.3723, allocations: 4 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.3725, allocations: 47.97 kB / 1.287 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006333/0.3731, allocations: 315.7 kB / 1.288 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002345/0.3733, allocations: 78.67 kB / 1.288 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.448e-05/0.3734, allocations: 36.84 kB / 1.288 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.3735, allocations: 7.984 kB / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.3737, allocations: 103.3 kB / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.3737, allocations: 0 / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0004605/0.3741, allocations: 165.6 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.3742, allocations: 63.39 kB / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.3744, allocations: 133.7 kB / 1.288 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.3744, allocations: 33.7 kB / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.39e-05/0.3745, allocations: 96.09 kB / 1.288 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.713e-05/0.3745, allocations: 27.78 kB / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.209e-05/0.3746, allocations: 29.7 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.3747, allocations: 326.8 kB / 1.289 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.662e-05/0.3748, allocations: 31.92 kB / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.375, allocations: 69.14 kB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002134/0.3752, allocations: 109 kB / 1.289 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.3752, allocations: 3.938 kB / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002997/0.3755, allocations: 145.4 kB / 1.289 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.3755, allocations: 4 kB / 1.289 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.3755, allocations: 7.938 kB / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.3756, allocations: 0 / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.3757, allocations: 19.92 kB / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.3757, allocations: 4 kB / 1.289 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.3758, allocations: 11.98 kB / 1.289 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.3758, allocations: 8 kB / 1.289 GB, free: 5.785 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.0001441/0.376, allocations: 128.3 kB / 1.289 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.376, allocations: 7.953 kB / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003935/0.3764, allocations: 173.8 kB / 1.289 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.3764, allocations: 0 / 1.289 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.3764, allocations: 0 / 1.289 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3764, allocations: 0 / 1.289 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006475/0.377, allocations: 425.4 kB / 1.29 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.377, allocations: 0 / 1.29 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.432e-05/0.3771, allocations: 11.98 kB / 1.29 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.3771, allocations: 0 / 1.29 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.3771, allocations: 11.94 kB / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.3771, allocations: 3.984 kB / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3772, allocations: 0 / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003692/0.3775, allocations: 251.4 kB / 1.29 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.175e-05/0.3775, allocations: 7.953 kB / 1.29 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.3776, allocations: 3.938 kB / 1.29 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.3777, allocations: 11.98 kB / 1.29 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/0.3777, allocations: 7.984 kB / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.3778, allocations: 8 kB / 1.29 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.206e-05/0.3778, allocations: 109.9 kB / 1.29 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3778, allocations: 0 / 1.29 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003545/0.3782, allocations: 43.88 kB / 1.29 GB, free: 4.527 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.001037/0.3792, allocations: 0.852 MB / 1.291 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002737/0.3795, allocations: 91.89 kB / 1.291 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3795, allocations: 0 / 1.291 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.3796, allocations: 51.91 kB / 1.291 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.38, allocations: 15.98 kB / 1.291 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002213/0.3822, allocations: 1.647 MB / 1.293 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.3825, allocations: 0.6963 MB / 1.293 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.365e-05/0.3826, allocations: 16.34 kB / 1.293 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.427e-05/0.3827, allocations: 35.42 kB / 1.293 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of SimCode: time 7.41e-07/0.3827, allocations: 0 / 1.293 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03081/0.4135, allocations: 3.538 MB / 1.297 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.67, allocations: 4.719 kB / 1.297 GB, free: 13.59 MB / 0.9981 GB " [Timeout remaining time 288] (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/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: 18.52599594788626]