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.001019/0.001019, 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.0008475/0.0008475, allocations: 165.9 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.8906/0.8906, 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.689/1.689, allocations: 359 MB / 0.6037 GB, free: 11.08 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.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: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 0 / 0.9505 GB, free: 3.539 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.429e-05/2.682e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002146/0.002172, allocations: 1.521 MB / 0.9519 GB, free: 1.992 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.003461, allocations: 0.8066 MB / 0.9527 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.29e-05/0.003524, allocations: 4 kB / 0.9527 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.023e-05/0.003555, allocations: 7.922 kB / 0.9527 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.449e-05/0.003639, allocations: 11.88 kB / 0.9528 GB, free: 1.156 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.00059/0.004229, allocations: 155.2 kB / 0.9529 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.004346, allocations: 87.7 kB / 0.953 GB, free: 0.918 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.869e-05/0.004434, allocations: 11.98 kB / 0.953 GB, free: 0.9062 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.00458, allocations: 59.88 kB / 0.9531 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.408e-05/0.004634, allocations: 31.89 kB / 0.9531 GB, free: 0.8164 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.004651, allocations: 8 kB / 0.9531 GB, free: 0.8086 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002108/0.004862, allocations: 151.6 kB / 0.9532 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.739e-05/0.00489, allocations: 15.91 kB / 0.9533 GB, free: 0.6445 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.827e-05/0.004928, allocations: 27.97 kB / 0.9533 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.00515, allocations: 179.4 kB / 0.9535 GB, free: 452 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.005152, allocations: 3.938 kB / 0.9535 GB, free: 448 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.593e-06/0.005154, allocations: 0 / 0.9535 GB, free: 448 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.005158, allocations: 0 / 0.9535 GB, free: 448 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.0005538/0.005712, allocations: 393.2 kB / 0.9538 GB, free: 12 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.005765, allocations: 20.02 kB / 0.9538 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.22e-05/0.005797, allocations: 34.75 kB / 0.9539 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001849/0.005982, allocations: 32.77 kB / 0.9539 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.006163, allocations: 125.2 kB / 0.954 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.006176, allocations: 4.375 kB / 0.954 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.00619, allocations: 12.36 kB / 0.954 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.006325, allocations: 70.16 kB / 0.9541 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.006332, allocations: 192 / 0.9541 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.006345, allocations: 8.125 kB / 0.9541 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.006352, allocations: 8 kB / 0.9541 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.273e-05/0.006434, allocations: 35.97 kB / 0.9542 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003871/0.006821, allocations: 275.9 kB / 0.9544 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.006933, allocations: 66.52 kB / 0.9545 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.511e-05/0.006978, allocations: 28.84 kB / 0.9545 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.006997, allocations: 4 kB / 0.9545 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001324/0.00713, allocations: 99.25 kB / 0.9546 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=10): time 2.124e-06/0.007132, allocations: 0 / 0.9546 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of matching and sorting (n=10): time 0.0002797/0.007412, allocations: 161.5 kB / 0.9548 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.007449, allocations: 51.41 kB / 0.9548 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.972e-05/0.007528, allocations: 129.8 kB / 0.9549 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.007543, allocations: 37.64 kB / 0.955 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.306e-05/0.007586, allocations: 84.38 kB / 0.9551 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.007608, allocations: 28.16 kB / 0.9551 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.007645, allocations: 33.7 kB / 0.9551 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.829e-05/0.007734, allocations: 322.8 kB / 0.9554 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.028e-05/0.007784, allocations: 27.98 kB / 0.9555 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.938e-05/0.007863, allocations: 75.69 kB / 0.9555 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.008008, allocations: 101.1 kB / 0.9556 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.543e-06/0.008015, allocations: 3.938 kB / 0.9556 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001653/0.00818, allocations: 137.4 kB / 0.9558 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.008194, allocations: 8 kB / 0.9558 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.008198, allocations: 0 / 0.9558 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.008211, allocations: 4 kB / 0.9558 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.712e-05/0.008278, allocations: 15.92 kB / 0.9558 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.008284, allocations: 4 kB / 0.9558 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.137e-05/0.008335, allocations: 15.98 kB / 0.9558 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.008347, allocations: 4 kB / 0.9558 GB, free: 13.79 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 9.219e-05/0.008439, allocations: 127.6 kB / 0.9559 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.993e-05/0.008459, allocations: 11.95 kB / 0.9559 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002324/0.008692, allocations: 150 kB / 0.9561 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.008694, allocations: 0 / 0.9561 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.008698, allocations: 3.984 kB / 0.9561 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.008702, allocations: 0 / 0.9561 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003646/0.009067, allocations: 397.5 kB / 0.9565 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.009068, allocations: 0 / 0.9565 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.808e-05/0.009107, allocations: 15.98 kB / 0.9565 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.009109, allocations: 0 / 0.9565 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.009119, allocations: 4 kB / 0.9565 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.009121, allocations: 0 / 0.9565 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.009122, allocations: 3.938 kB / 0.9565 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.009311, allocations: 235.3 kB / 0.9567 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.207e-05/0.009323, allocations: 11.91 kB / 0.9567 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.009339, allocations: 0 / 0.9567 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.386e-05/0.009393, allocations: 11.98 kB / 0.9567 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.009437, allocations: 7.984 kB / 0.9567 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.009453, allocations: 8 kB / 0.9568 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.714e-05/0.0095, allocations: 107.2 kB / 0.9569 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.0095, allocations: 0 / 0.9569 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002549/0.009755, allocations: 39.94 kB / 0.9569 GB, free: 12.59 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.0006569/0.01041, allocations: 0.8352 MB / 0.9577 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001787/0.01059, allocations: 87.83 kB / 0.9578 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.01059, allocations: 0 / 0.9578 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.161e-05/0.01066, allocations: 47.92 kB / 0.9578 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.01088, allocations: 15.98 kB / 0.9579 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.01229, allocations: 1.604 MB / 0.9594 GB, free: 9.887 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.459e-05/0.01235, allocations: 83.66 kB / 0.9595 GB, free: 9.781 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.623e-05/0.01238, allocations: 8.5 kB / 0.9595 GB, free: 9.773 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.755e-05/0.01244, allocations: 28.48 kB / 0.9595 GB, free: 9.746 MB / 0.9167 GB Notification: Performance of SimCode: time 6.21e-07/0.01244, allocations: 0 / 0.9595 GB, free: 9.746 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01897/0.03141, allocations: 3.905 MB / 0.9633 GB, free: 5.988 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.706/6.737, allocations: 4.562 kB / 0.9634 GB, free: 5.988 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.810301005840302]