Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.0008328/0.0008328, 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.001261/0.001261, 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.9209/0.9209, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.65/1.65, allocations: 359 MB / 0.6037 GB, free: 11.1 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.Reinhart2003Light,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.9505 GB, free: 3.543 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.646e-05/2.812e-05, allocations: 9.375 kB / 0.9505 GB, free: 3.535 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.002317/0.002345, allocations: 1.552 MB / 0.952 GB, free: 1.965 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.0037, allocations: 0.8144 MB / 0.9528 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.505e-05/0.003765, allocations: 0 / 0.9528 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.373e-05/0.003799, allocations: 7.875 kB / 0.9528 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 9.502e-05/0.003894, allocations: 15.84 kB / 0.9528 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006841/0.004578, allocations: 163.2 kB / 0.9529 GB, free: 0.9609 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.004728, allocations: 103.6 kB / 0.953 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.763e-05/0.004826, allocations: 12 kB / 0.9531 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001668/0.004993, allocations: 71.8 kB / 0.9531 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.84e-05/0.005061, allocations: 35.88 kB / 0.9532 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.00508, allocations: 8 kB / 0.9532 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002061/0.005286, allocations: 151.6 kB / 0.9533 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.57e-05/0.005311, allocations: 19.92 kB / 0.9533 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.135e-05/0.005353, allocations: 27.95 kB / 0.9534 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.005595, allocations: 203.3 kB / 0.9536 GB, free: 348 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.005599, allocations: 0 / 0.9536 GB, free: 348 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.383e-06/0.0056, allocations: 0 / 0.9536 GB, free: 348 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.005605, allocations: 0 / 0.9536 GB, free: 348 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006087/0.006214, allocations: 450.7 kB / 0.954 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.006256, allocations: 8.031 kB / 0.954 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.33e-05/0.006289, allocations: 38.73 kB / 0.954 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001817/0.006471, allocations: 32.88 kB / 0.9541 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.006683, allocations: 140.4 kB / 0.9542 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.006697, allocations: 4.375 kB / 0.9542 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.006712, allocations: 8.375 kB / 0.9542 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.00686, allocations: 89.89 kB / 0.9543 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.006867, allocations: 0 / 0.9543 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.006878, allocations: 3.984 kB / 0.9543 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.006883, allocations: 0 / 0.9543 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.552e-05/0.006979, allocations: 51.91 kB / 0.9543 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004163/0.007395, allocations: 287.9 kB / 0.9546 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.007554, allocations: 74.7 kB / 0.9547 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.601e-05/0.00761, allocations: 44.83 kB / 0.9547 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.007634, allocations: 0 / 0.9547 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.007796, allocations: 103.3 kB / 0.9548 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.007798, allocations: 0 / 0.9548 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11): time 0.0003275/0.008125, allocations: 177.5 kB / 0.955 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.008167, allocations: 55.41 kB / 0.9551 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.935e-05/0.008267, allocations: 141.8 kB / 0.9552 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.008283, allocations: 33.7 kB / 0.9552 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.261e-05/0.008336, allocations: 100.1 kB / 0.9553 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.008358, allocations: 27.8 kB / 0.9553 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.153e-05/0.0084, allocations: 29.7 kB / 0.9554 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.615e-05/0.008496, allocations: 334.8 kB / 0.9557 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.475e-05/0.008551, allocations: 27.98 kB / 0.9557 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.852e-05/0.008619, allocations: 65.12 kB / 0.9558 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.008746, allocations: 109 kB / 0.9559 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.008749, allocations: 4 kB / 0.9559 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001697/0.008918, allocations: 141.4 kB / 0.956 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.008932, allocations: 7.938 kB / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.00894, allocations: 4 kB / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.008958, allocations: 0 / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.08e-05/0.009028, allocations: 15.98 kB / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.009036, allocations: 7.938 kB / 0.9561 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.26e-05/0.009089, allocations: 15.92 kB / 0.9561 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.009102, allocations: 16.03 kB / 0.9561 GB, free: 13.5 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,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 8.63e-05/0.009188, allocations: 119.8 kB / 0.9562 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.452e-05/0.009202, allocations: 15.91 kB / 0.9562 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002473/0.00945, allocations: 174.5 kB / 0.9564 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.009454, allocations: 3.984 kB / 0.9564 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.00946, allocations: 0 / 0.9564 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.009464, allocations: 0 / 0.9564 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003963/0.00986, allocations: 436.5 kB / 0.9568 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.009862, allocations: 0 / 0.9568 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.659e-05/0.009898, allocations: 11.94 kB / 0.9568 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.009902, allocations: 4 kB / 0.9568 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.009918, allocations: 3.984 kB / 0.9568 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.028e-05/0.009928, allocations: 3.938 kB / 0.9568 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.009931, allocations: 7.938 kB / 0.9568 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004712/0.0104, allocations: 247.5 kB / 0.9571 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.32e-05/0.01042, allocations: 11.91 kB / 0.9571 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.01043, allocations: 4 kB / 0.9571 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.555e-05/0.01049, allocations: 15.92 kB / 0.9571 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.01053, allocations: 11.98 kB / 0.9571 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.01055, allocations: 7.984 kB / 0.9571 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.084e-05/0.0106, allocations: 109.9 kB / 0.9572 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.0106, allocations: 3.938 kB / 0.9572 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002369/0.01084, allocations: 43.92 kB / 0.9573 GB, free: 12.21 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 (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 (14): * Single equations (assignments): 11 * 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.0006554/0.01149, allocations: 0.8558 MB / 0.9581 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001742/0.01167, allocations: 87.83 kB / 0.9582 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01167, allocations: 0 / 0.9582 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.426e-05/0.01174, allocations: 55.09 kB / 0.9582 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.01202, allocations: 19.97 kB / 0.9583 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.0133, allocations: 1.689 MB / 0.9599 GB, free: 9.387 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.805e-05/0.01336, allocations: 88.3 kB / 0.96 GB, free: 9.281 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.301e-05/0.0134, allocations: 16.48 kB / 0.96 GB, free: 9.266 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.915e-05/0.01346, allocations: 36.42 kB / 0.96 GB, free: 9.23 MB / 0.9167 GB Notification: Performance of SimCode: time 6.01e-07/0.01346, allocations: 4 kB / 0.96 GB, free: 9.227 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02108/0.03454, allocations: 4.299 MB / 0.9642 GB, free: 5.074 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.777/6.811, allocations: 10.45 kB / 0.9643 GB, free: 5.066 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.fmu > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.887065024115145]