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.001152/0.001152, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001407/0.001407, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8966/0.8966, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.674/1.674, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.9505 GB, free: 3.551 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.745e-05, allocations: 6.281 kB / 0.9505 GB, free: 3.543 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002238/0.002265, allocations: 1.514 MB / 0.9519 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001155/0.00342, allocations: 0.8067 MB / 0.9527 GB, free: 1.199 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.568e-05/0.003495, allocations: 0 / 0.9527 GB, free: 1.199 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 4.075e-05/0.003536, allocations: 7.922 kB / 0.9527 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.003646, allocations: 19.8 kB / 0.9528 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006596/0.004306, allocations: 159.2 kB / 0.9529 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.004457, allocations: 83.7 kB / 0.953 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.004574, allocations: 11.98 kB / 0.953 GB, free: 0.9219 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/0.004761, allocations: 63.88 kB / 0.9531 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.052e-05/0.004832, allocations: 27.91 kB / 0.9531 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.004855, allocations: 8 kB / 0.9531 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002447/0.0051, allocations: 151.6 kB / 0.9532 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.765e-05/0.005128, allocations: 15.97 kB / 0.9533 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 5.413e-05/0.005182, allocations: 23.92 kB / 0.9533 GB, free: 0.6367 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002851/0.005467, allocations: 183.4 kB / 0.9535 GB, free: 468 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.005471, allocations: 0 / 0.9535 GB, free: 468 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.593e-06/0.005472, allocations: 0 / 0.9535 GB, free: 468 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.75e-06/0.005478, allocations: 0 / 0.9535 GB, free: 468 kB / 0.9011 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.000642/0.00612, allocations: 401.1 kB / 0.9538 GB, free: 24 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.00617, allocations: 15.97 kB / 0.9538 GB, free: 8 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.072e-05/0.00623, allocations: 34.75 kB / 0.9539 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002025/0.006433, allocations: 32.81 kB / 0.9539 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.00666, allocations: 132.5 kB / 0.954 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.006675, allocations: 384 / 0.954 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.006689, allocations: 8.375 kB / 0.954 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.006831, allocations: 70.16 kB / 0.9541 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.006839, allocations: 4.188 kB / 0.9541 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.006851, allocations: 8.125 kB / 0.9541 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.00686, allocations: 8 kB / 0.9541 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.482e-05/0.006944, allocations: 35.97 kB / 0.9542 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000429/0.007373, allocations: 275.9 kB / 0.9544 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.007495, allocations: 62.52 kB / 0.9545 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.096e-05/0.007546, allocations: 32.84 kB / 0.9545 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.007569, allocations: 4.156 kB / 0.9545 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.007722, allocations: 95.3 kB / 0.9546 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=10): time 1.482e-06/0.007724, allocations: 0 / 0.9546 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of matching and sorting (n=10): time 0.000308/0.008032, allocations: 161.5 kB / 0.9548 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.008075, allocations: 55.41 kB / 0.9548 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.568e-05/0.008171, allocations: 133.8 kB / 0.955 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.008186, allocations: 29.7 kB / 0.955 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.265e-05/0.008239, allocations: 92.36 kB / 0.9551 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.008261, allocations: 28.17 kB / 0.9551 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.44e-05/0.008306, allocations: 29.7 kB / 0.9551 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.972e-05/0.008395, allocations: 326.8 kB / 0.9554 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.158e-05/0.008447, allocations: 23.98 kB / 0.9555 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.096e-05/0.008518, allocations: 75.31 kB / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.008633, allocations: 101 kB / 0.9556 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.008637, allocations: 7.938 kB / 0.9556 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001622/0.008799, allocations: 133.4 kB / 0.9558 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.008812, allocations: 6.656 kB / 0.9558 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.008818, allocations: 0 / 0.9558 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.008832, allocations: 4 kB / 0.9558 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.082e-05/0.008903, allocations: 19.92 kB / 0.9558 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.008909, allocations: 0 / 0.9558 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.008e-05/0.008959, allocations: 15.98 kB / 0.9558 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.008969, allocations: 8.125 kB / 0.9558 GB, free: 13.8 MB / 0.9167 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 7.625e-05/0.009045, allocations: 131.6 kB / 0.9559 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.577e-05/0.009061, allocations: 11.94 kB / 0.956 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002152/0.009276, allocations: 142.1 kB / 0.9561 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.009279, allocations: 0 / 0.9561 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.009282, allocations: 4 kB / 0.9561 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.009286, allocations: 0 / 0.9561 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003576/0.009644, allocations: 401.3 kB / 0.9565 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.009645, allocations: 0 / 0.9565 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.326e-05/0.009679, allocations: 11.98 kB / 0.9565 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.009681, allocations: 0 / 0.9565 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.009691, allocations: 8 kB / 0.9565 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.009693, allocations: 0 / 0.9565 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.009694, allocations: 0 / 0.9565 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003444/0.01004, allocations: 235.5 kB / 0.9567 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.3e-05/0.01005, allocations: 11.91 kB / 0.9567 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.01007, allocations: 0 / 0.9567 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.468e-05/0.01012, allocations: 19.98 kB / 0.9567 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.01016, allocations: 7.984 kB / 0.9568 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.01018, allocations: 7.984 kB / 0.9568 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.351e-05/0.01022, allocations: 103.2 kB / 0.9569 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.01022, allocations: 0 / 0.9569 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002249/0.01045, allocations: 39.94 kB / 0.9569 GB, free: 12.6 MB / 0.9167 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.0006017/0.01105, allocations: 0.8421 MB / 0.9577 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000166/0.01121, allocations: 83.94 kB / 0.9578 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.01122, allocations: 4 kB / 0.9578 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.946e-05/0.01128, allocations: 39.92 kB / 0.9578 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.0115, allocations: 18.48 kB / 0.9579 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.01271, allocations: 1.6 MB / 0.9594 GB, free: 9.898 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.578e-05/0.01277, allocations: 83.66 kB / 0.9595 GB, free: 9.793 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.96e-05/0.01281, allocations: 8.5 kB / 0.9595 GB, free: 9.785 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.869e-05/0.01286, allocations: 28.48 kB / 0.9595 GB, free: 9.758 MB / 0.9167 GB Notification: Performance of SimCode: time 4.71e-07/0.01286, allocations: 0 / 0.9595 GB, free: 9.758 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02128/0.03414, allocations: 3.903 MB / 0.9633 GB, free: 6.004 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.676/6.71, allocations: 2.188 kB / 0.9634 GB, free: 6.004 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.792410115711391]