Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.001827/0.001827, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002308/0.002308, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.595/1.595, allocations: 230.6 MB / 256 MB, free: 7.988 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.868/2.868, allocations: 476.8 MB / 0.7707 GB, free: 4.289 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.Love1998Light2,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",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.00208/0.00208, allocations: 67.03 kB / 1.117 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3354, allocations: 169.9 MB / 1.283 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.003212/0.3386, allocations: 1.551 MB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00189/0.3405, allocations: 0.8547 MB / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.466e-05/0.3406, allocations: 8 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.802e-05/0.3406, allocations: 7.875 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.3407, allocations: 15.84 kB / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007077/0.3414, allocations: 151.5 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.3416, allocations: 79.77 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.803e-05/0.3417, allocations: 15.98 kB / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.3418, allocations: 47.78 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.363e-05/0.3419, allocations: 39.83 kB / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.342, allocations: 12 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003313/0.3423, allocations: 147.7 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.703e-05/0.3423, allocations: 23.91 kB / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.459e-05/0.3424, allocations: 31.86 kB / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003462/0.3427, allocations: 163.7 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3427, allocations: 3.938 kB / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3427, allocations: 0 / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.3427, allocations: 0 / 1.286 GB, free: 8.621 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.0008503/0.3436, allocations: 403.2 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.3436, allocations: 12.03 kB / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.886e-05/0.3437, allocations: 38.73 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003267/0.344, allocations: 24.88 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/0.3443, allocations: 130.4 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.3443, allocations: 4.375 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.3444, allocations: 8.375 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.3446, allocations: 77.7 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.3446, allocations: 7.938 kB / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.3446, allocations: 4 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.3446, allocations: 7.938 kB / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.3447, allocations: 39.97 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006149/0.3454, allocations: 287.8 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.3455, allocations: 70.56 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.479e-05/0.3456, allocations: 32.84 kB / 1.288 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.3456, allocations: 4.156 kB / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002072/0.3458, allocations: 91.34 kB / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.3458, allocations: 0 / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0004453/0.3463, allocations: 157.5 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/0.3464, allocations: 63.34 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.3465, allocations: 135.6 kB / 1.288 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.3465, allocations: 25.7 kB / 1.288 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.467e-05/0.3466, allocations: 92.38 kB / 1.288 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.3466, allocations: 27.78 kB / 1.288 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.874e-05/0.3467, allocations: 29.7 kB / 1.288 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000229/0.3469, allocations: 326.8 kB / 1.288 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.255e-05/0.347, allocations: 27.98 kB / 1.288 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.3471, allocations: 61.64 kB / 1.289 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.3473, allocations: 101.1 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3473, allocations: 0 / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002808/0.3476, allocations: 133.5 kB / 1.289 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.3476, allocations: 4 kB / 1.289 GB, free: 6 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.3476, allocations: 4 kB / 1.289 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.3477, allocations: 0 / 1.289 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.3478, allocations: 20.05 kB / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/0.3478, allocations: 8.375 kB / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.3479, allocations: 11.94 kB / 1.289 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.3479, allocations: 8 kB / 1.289 GB, free: 5.949 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,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.0001273/0.3481, allocations: 129.7 kB / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.3481, allocations: 11.89 kB / 1.289 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003448/0.3484, allocations: 149.9 kB / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3484, allocations: 4 kB / 1.289 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3485, allocations: 0 / 1.289 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.3485, allocations: 7.984 kB / 1.289 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006418/0.3491, allocations: 401.3 kB / 1.289 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3491, allocations: 0 / 1.289 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.203e-05/0.3492, allocations: 11.98 kB / 1.289 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3492, allocations: 0 / 1.289 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.3492, allocations: 0 / 1.289 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.3492, allocations: 11.94 kB / 1.289 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3492, allocations: 0 / 1.289 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/0.3495, allocations: 227.4 kB / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.342e-05/0.3495, allocations: 7.953 kB / 1.29 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.3496, allocations: 96 / 1.29 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.3497, allocations: 15.92 kB / 1.29 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.692e-05/0.3498, allocations: 15.97 kB / 1.29 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.3498, allocations: 8 kB / 1.29 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.883e-05/0.3498, allocations: 99.27 kB / 1.29 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3498, allocations: 0 / 1.29 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003581/0.3502, allocations: 51.8 kB / 1.29 GB, free: 4.734 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 (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.001007/0.3512, allocations: 0.819 MB / 1.291 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000261/0.3515, allocations: 83.83 kB / 1.291 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3515, allocations: 0 / 1.291 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.3516, allocations: 39.92 kB / 1.291 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.3519, allocations: 27.14 kB / 1.291 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.354, allocations: 1.605 MB / 1.292 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.3544, allocations: 0.6924 MB / 1.293 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.636e-05/0.3545, allocations: 16.42 kB / 1.293 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.348e-05/0.3545, allocations: 27.42 kB / 1.293 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of SimCode: time 5.91e-07/0.3545, allocations: 0 / 1.293 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0323/0.3868, allocations: 3.3 MB / 1.296 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.63, allocations: 9.938 kB / 1.296 GB, free: 14.13 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.fmu > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.496350568020716]