Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.001612/0.001612, allocations: 106.4 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.00187/0.00187, allocations: 219 kB / 22.25 MB, free: 5.133 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 8.023 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.967/2.967, allocations: 476.7 MB / 0.7707 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 176] 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.Love1998Light1,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",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.002064/0.002064, allocations: 64.16 kB / 1.117 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3488, allocations: 169.9 MB / 1.283 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.003138/0.352, allocations: 1.541 MB / 1.285 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001762/0.3537, allocations: 0.8698 MB / 1.286 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.538e-05/0.3538, allocations: 0 / 1.286 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.038e-05/0.3539, allocations: 3.938 kB / 1.286 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.354, allocations: 23.8 kB / 1.286 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007425/0.3547, allocations: 151.5 kB / 1.286 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.3549, allocations: 91.7 kB / 1.286 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.355, allocations: 7.984 kB / 1.286 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.3552, allocations: 47.84 kB / 1.286 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.644e-05/0.3553, allocations: 39.83 kB / 1.286 GB, free: 1 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.3553, allocations: 7.984 kB / 1.286 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003284/0.3556, allocations: 139.8 kB / 1.286 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.814e-05/0.3557, allocations: 19.92 kB / 1.286 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.624e-05/0.3557, allocations: 47.72 kB / 1.286 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003608/0.3561, allocations: 163.8 kB / 1.286 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.3561, allocations: 0 / 1.286 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3561, allocations: 0 / 1.286 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.3561, allocations: 4 kB / 1.286 GB, free: 0.625 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008072/0.3569, allocations: 397.1 kB / 1.287 GB, free: 200 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.3569, allocations: 8.031 kB / 1.287 GB, free: 192 kB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.98e-05/0.357, allocations: 34.75 kB / 1.287 GB, free: 148 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003307/0.3573, allocations: 36.86 kB / 1.287 GB, free: 112 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.3576, allocations: 132.5 kB / 1.287 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.3577, allocations: 8.312 kB / 1.287 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.3577, allocations: 12.38 kB / 1.287 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.3579, allocations: 73.7 kB / 1.287 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3579, allocations: 4 kB / 1.287 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.3579, allocations: 4 kB / 1.287 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.3579, allocations: 0 / 1.287 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.3581, allocations: 39.97 kB / 1.287 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005578/0.3586, allocations: 295.8 kB / 1.287 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.3588, allocations: 54.55 kB / 1.287 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.095e-05/0.3589, allocations: 32.84 kB / 1.288 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.3589, allocations: 4 kB / 1.288 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002327/0.3591, allocations: 91.39 kB / 1.288 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.3591, allocations: 0 / 1.288 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0004395/0.3595, allocations: 161.5 kB / 1.288 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.3596, allocations: 51.41 kB / 1.288 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.3597, allocations: 129.8 kB / 1.288 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.3597, allocations: 29.7 kB / 1.288 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.928e-05/0.3598, allocations: 104.5 kB / 1.288 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.031e-05/0.3599, allocations: 23.8 kB / 1.288 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.947e-05/0.3599, allocations: 33.7 kB / 1.288 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.3601, allocations: 322.8 kB / 1.288 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.546e-05/0.3602, allocations: 27.98 kB / 1.288 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.3603, allocations: 73 kB / 1.289 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002228/0.3605, allocations: 97.02 kB / 1.289 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3605, allocations: 0 / 1.289 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002776/0.3608, allocations: 133.5 kB / 1.289 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.3608, allocations: 8 kB / 1.289 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3608, allocations: 4.312 kB / 1.289 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.3608, allocations: 4.094 kB / 1.289 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.361, allocations: 11.98 kB / 1.289 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.361, allocations: 4 kB / 1.289 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.3611, allocations: 27.8 kB / 1.289 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.3611, allocations: 12.12 kB / 1.289 GB, free: 13.95 MB / 0.9981 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,occ.pulseStart,$PRE.occ.pulseStart,occ.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001339/0.3612, allocations: 125.7 kB / 1.289 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.3613, allocations: 7.953 kB / 1.289 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000355/0.3616, allocations: 145.9 kB / 1.289 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.3616, allocations: 4 kB / 1.289 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3616, allocations: 0 / 1.289 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3616, allocations: 0 / 1.289 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006391/0.3623, allocations: 401.4 kB / 1.289 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3623, allocations: 0 / 1.289 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.365e-05/0.3623, allocations: 15.92 kB / 1.289 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3623, allocations: 0 / 1.289 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.3624, allocations: 4 kB / 1.289 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/0.3624, allocations: 3.938 kB / 1.289 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3624, allocations: 0 / 1.289 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003327/0.3627, allocations: 231.6 kB / 1.29 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.662e-05/0.3627, allocations: 7.953 kB / 1.29 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.3628, allocations: 4 kB / 1.29 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.3629, allocations: 19.92 kB / 1.29 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.3629, allocations: 7.984 kB / 1.29 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.3629, allocations: 7.984 kB / 1.29 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.19e-05/0.363, allocations: 101.9 kB / 1.29 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.363, allocations: 3.938 kB / 1.29 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003605/0.3634, allocations: 47.88 kB / 1.29 GB, free: 12.75 MB / 0.9981 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 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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.000998/0.3644, allocations: 0.8118 MB / 1.291 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000269/0.3646, allocations: 83.83 kB / 1.291 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3647, allocations: 0 / 1.291 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.3648, allocations: 40.03 kB / 1.291 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.3651, allocations: 20.11 kB / 1.291 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/0.3674, allocations: 1.615 MB / 1.292 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.3678, allocations: 0.6924 MB / 1.293 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.602e-05/0.3678, allocations: 8.422 kB / 1.293 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.743e-05/0.3679, allocations: 31.42 kB / 1.293 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of SimCode: time 5.71e-07/0.3679, allocations: 0 / 1.293 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03568/0.4036, allocations: 3.307 MB / 1.296 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.67, allocations: 5.25 kB / 1.296 GB, free: 6.148 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.442362423986197]