Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.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.0007794/0.0007794, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008175/0.0008175, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8728/0.8728, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.751/1.751, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.9996 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.195e-05/2.355e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.00148/0.001504, allocations: 0.6985 MB / 1 GB, free: 12.87 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001478/0.002982, allocations: 1.545 MB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.134e-05/0.003043, allocations: 15.88 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.092e-05/0.003074, allocations: 3.938 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001693/0.003244, allocations: 19.78 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003699/0.003613, allocations: 175.3 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.003741, allocations: 115.6 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.213e-05/0.003833, allocations: 15.97 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001593/0.003992, allocations: 75.88 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.448e-05/0.004067, allocations: 43.88 kB / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.004089, allocations: 15.94 kB / 1.002 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.00425, allocations: 115.8 kB / 1.002 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.409e-05/0.004274, allocations: 27.91 kB / 1.002 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.004308, allocations: 23.98 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.00455, allocations: 251.3 kB / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.004552, allocations: 0 / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.32e-07/0.004553, allocations: 0 / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.004557, allocations: 0 / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004948/0.005052, allocations: 357.6 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.005096, allocations: 8.75 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.745e-05/0.005133, allocations: 42.73 kB / 1.003 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001873/0.00532, allocations: 32.83 kB / 1.003 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.736e-05/0.005418, allocations: 121.7 kB / 1.003 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.669e-05/0.005484, allocations: 55.97 kB / 1.003 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.0055, allocations: 20.31 kB / 1.003 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.005647, allocations: 103.5 kB / 1.003 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.005656, allocations: 192 / 1.003 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.005669, allocations: 3.938 kB / 1.003 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.005674, allocations: 0 / 1.003 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.813e-05/0.005752, allocations: 47.92 kB / 1.003 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004664/0.006218, allocations: 472.2 kB / 1.004 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.00653, allocations: 139.7 kB / 1.004 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.025e-05/0.00658, allocations: 42.59 kB / 1.004 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.006603, allocations: 7.984 kB / 1.004 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000172/0.006775, allocations: 117.8 kB / 1.004 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.006776, allocations: 0 / 1.004 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11): time 0.0002693/0.007046, allocations: 153.5 kB / 1.004 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.007096, allocations: 103 kB / 1.004 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.016e-05/0.007176, allocations: 129.8 kB / 1.005 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.007192, allocations: 29.7 kB / 1.005 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.854e-05/0.007241, allocations: 96.36 kB / 1.005 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.007264, allocations: 31.73 kB / 1.005 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.354e-05/0.007308, allocations: 37.7 kB / 1.005 GB, free: 8.059 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.29e-05/0.007391, allocations: 322.7 kB / 1.005 GB, free: 7.734 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.539e-05/0.007456, allocations: 35.98 kB / 1.005 GB, free: 7.699 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.168e-05/0.007508, allocations: 39.97 kB / 1.005 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.007612, allocations: 80.72 kB / 1.005 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.007614, allocations: 0 / 1.005 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001534/0.007768, allocations: 128.2 kB / 1.005 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.00778, allocations: 7.984 kB / 1.005 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.007785, allocations: 0 / 1.005 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.007797, allocations: 0 / 1.005 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.726e-05/0.007864, allocations: 23.98 kB / 1.005 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.00787, allocations: 0 / 1.005 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.088e-05/0.007911, allocations: 11.94 kB / 1.005 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.007919, allocations: 3.938 kB / 1.005 GB, free: 7.402 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (dayCon.not1.y,dayCon.sunRiseSet.nextSunSet,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunRise,$whenCondition1,$whenCondition2) * 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.095e-05/0.008, allocations: 129.8 kB / 1.005 GB, free: 7.266 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/0.008012, allocations: 11.95 kB / 1.005 GB, free: 7.254 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001725/0.008184, allocations: 121.9 kB / 1.006 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.008187, allocations: 4 kB / 1.006 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.008192, allocations: 0 / 1.006 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.008196, allocations: 320 / 1.006 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.008321, allocations: 184.5 kB / 1.006 GB, free: 6.902 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.008325, allocations: 8 kB / 1.006 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.718e-05/0.008372, allocations: 12.23 kB / 1.006 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.008376, allocations: 4 kB / 1.006 GB, free: 6.879 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-06/0.008385, allocations: 4 kB / 1.006 GB, free: 6.875 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.008389, allocations: 7.984 kB / 1.006 GB, free: 6.867 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.008391, allocations: 3.938 kB / 1.006 GB, free: 6.863 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.00855, allocations: 174.7 kB / 1.006 GB, free: 6.668 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.033e-05/0.00859, allocations: 27.86 kB / 1.006 GB, free: 6.641 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.008607, allocations: 4 kB / 1.006 GB, free: 6.637 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.355e-05/0.008641, allocations: 4 kB / 1.006 GB, free: 6.633 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.008684, allocations: 15.97 kB / 1.006 GB, free: 6.617 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.008692, allocations: 8 kB / 1.006 GB, free: 6.609 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.292e-05/0.008734, allocations: 99.27 kB / 1.006 GB, free: 6.512 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.008735, allocations: 4 kB / 1.006 GB, free: 6.508 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002047/0.008939, allocations: 67.73 kB / 1.006 GB, free: 6.441 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet,dayCon.not1.y) * Number of discrete states: 2 (dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000447/0.009386, allocations: 0.7777 MB / 1.007 GB, free: 5.625 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001807/0.009567, allocations: 102.1 kB / 1.007 GB, free: 5.527 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.009568, allocations: 0 / 1.007 GB, free: 5.527 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.93e-05/0.009628, allocations: 43.92 kB / 1.007 GB, free: 5.484 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.009783, allocations: 15.98 kB / 1.007 GB, free: 5.469 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.01096, allocations: 1.569 MB / 1.009 GB, free: 3.801 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.549e-05/0.01102, allocations: 85.44 kB / 1.009 GB, free: 3.695 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.597e-05/0.01106, allocations: 15.73 kB / 1.009 GB, free: 3.684 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.869e-05/0.01112, allocations: 40.48 kB / 1.009 GB, free: 3.645 MB / 0.9636 GB Notification: Performance of SimCode: time 7.21e-07/0.01112, allocations: 0 / 1.009 GB, free: 3.645 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01546/0.02658, allocations: 3.915 MB / 1.013 GB, free: 15.88 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.561/6.588, allocations: 7.219 kB / 1.013 GB, free: 15.87 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled_fmu --startTime=0 --stopTime=604800 --stepSize=241.92 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.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.626291803084314]