Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 113.2 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.674/2.674, allocations: 443.5 MB / 0.7287 GB, free: 13.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 63.89 kB / 1.056 GB, free: 5.918 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7885/0.7906, allocations: 160.7 MB / 1.213 GB, free: 3.863 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002217/0.7928, allocations: 0.7371 MB / 1.214 GB, free: 3.305 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002389/0.7952, allocations: 1.531 MB / 1.215 GB, free: 2.07 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.29e-05/0.7953, allocations: 1 kB / 1.215 GB, free: 2.07 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.819e-05/0.7953, allocations: 7.875 kB / 1.215 GB, free: 2.062 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001746/0.7955, allocations: 23.25 kB / 1.215 GB, free: 2.043 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000508/0.796, allocations: 150.7 kB / 1.215 GB, free: 1.938 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002984/0.7963, allocations: 123.3 kB / 1.215 GB, free: 1.863 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.7964, allocations: 16.52 kB / 1.215 GB, free: 1.852 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.7966, allocations: 49.47 kB / 1.215 GB, free: 1.824 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.7967, allocations: 51.06 kB / 1.216 GB, free: 1.789 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.003e-05/0.7967, allocations: 15.47 kB / 1.216 GB, free: 1.785 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002637/0.797, allocations: 101.2 kB / 1.216 GB, free: 1.742 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.805e-05/0.7971, allocations: 28.28 kB / 1.216 GB, free: 1.719 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.265e-05/0.7971, allocations: 39.58 kB / 1.216 GB, free: 1.691 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004186/0.7975, allocations: 200.9 kB / 1.216 GB, free: 1.559 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.7976, allocations: 3.984 kB / 1.216 GB, free: 1.555 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.472e-06/0.7976, allocations: 0 / 1.216 GB, free: 1.555 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.7976, allocations: 0.9062 kB / 1.216 GB, free: 1.555 MB / 0.92 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.000865/0.7984, allocations: 426.6 kB / 1.216 GB, free: 1.133 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.7985, allocations: 10.31 kB / 1.216 GB, free: 1.133 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.791e-05/0.7985, allocations: 40.83 kB / 1.216 GB, free: 1.086 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.798e-05/0.7986, allocations: 9.109 kB / 1.216 GB, free: 1.082 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.7987, allocations: 177.7 kB / 1.217 GB, free: 0.875 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.6e-05/0.7988, allocations: 34.58 kB / 1.217 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.7988, allocations: 12.8 kB / 1.217 GB, free: 0.832 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.799, allocations: 106.8 kB / 1.217 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.799, allocations: 0 / 1.217 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.7991, allocations: 4.969 kB / 1.217 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.7991, allocations: 2.406 kB / 1.217 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.7992, allocations: 45.12 kB / 1.217 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007285/0.7999, allocations: 0.5263 MB / 1.217 GB, free: 172 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005062/0.8004, allocations: 131.3 kB / 1.217 GB, free: 60 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.435e-05/0.8005, allocations: 44.97 kB / 1.217 GB, free: 20 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.8005, allocations: 5.344 kB / 1.217 GB, free: 16 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002953/0.8008, allocations: 122.4 kB / 1.218 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.8008, allocations: 1.031 kB / 1.218 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.0003402/0.8011, allocations: 137.9 kB / 1.218 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.549e-05/0.8012, allocations: 105 kB / 1.218 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.8014, allocations: 127.1 kB / 1.218 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.8014, allocations: 26.89 kB / 1.218 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.751e-05/0.8014, allocations: 90.59 kB / 1.218 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.409e-05/0.8015, allocations: 40.81 kB / 1.218 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.66e-05/0.8016, allocations: 37.42 kB / 1.218 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002228/0.8018, allocations: 323.9 kB / 1.218 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.781e-05/0.8019, allocations: 34.8 kB / 1.218 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.719e-05/0.802, allocations: 38.83 kB / 1.218 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.8021, allocations: 75.27 kB / 1.219 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.8021, allocations: 0 / 1.219 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002594/0.8024, allocations: 135.1 kB / 1.219 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.8024, allocations: 4.688 kB / 1.219 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.8024, allocations: 4 kB / 1.219 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.8024, allocations: 1.125 kB / 1.219 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.8026, allocations: 22.55 kB / 1.219 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.8026, allocations: 4.969 kB / 1.219 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.611e-05/0.8027, allocations: 21.22 kB / 1.219 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.8027, allocations: 6.719 kB / 1.219 GB, free: 14.87 MB / 0.9356 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 0.0001201/0.8028, allocations: 120.1 kB / 1.219 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.8028, allocations: 12.16 kB / 1.219 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00025/0.8031, allocations: 122.2 kB / 1.219 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.8031, allocations: 3.094 kB / 1.219 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.8031, allocations: 1.562 kB / 1.219 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.8031, allocations: 3.938 kB / 1.219 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/0.8033, allocations: 217.5 kB / 1.219 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.8033, allocations: 1.156 kB / 1.219 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.93e-05/0.8034, allocations: 23.05 kB / 1.219 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.8034, allocations: 1.156 kB / 1.219 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.8034, allocations: 14.25 kB / 1.219 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.8034, allocations: 1.188 kB / 1.219 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.8034, allocations: 1.156 kB / 1.219 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.8037, allocations: 172.1 kB / 1.219 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.8038, allocations: 104.1 kB / 1.219 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.35e-05/0.8039, allocations: 9.266 kB / 1.219 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.998e-05/0.804, allocations: 12.09 kB / 1.219 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.981e-05/0.804, allocations: 18.8 kB / 1.219 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.804, allocations: 3.438 kB / 1.219 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.321e-05/0.8041, allocations: 99.2 kB / 1.22 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.8041, allocations: 0 / 1.22 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002968/0.8044, allocations: 59.98 kB / 1.22 GB, free: 14.01 MB / 0.9356 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.000906/0.8053, allocations: 0.7607 MB / 1.22 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002638/0.8056, allocations: 91.67 kB / 1.22 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.8056, allocations: 1.125 kB / 1.22 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.8057, allocations: 48.05 kB / 1.221 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.8059, allocations: 15.94 kB / 1.221 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.8079, allocations: 1.558 MB / 1.222 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.8083, allocations: 0.697 MB / 1.223 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.53e-05/0.8084, allocations: 23.23 kB / 1.223 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.427e-05/0.8084, allocations: 35.27 kB / 1.223 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/0.8084, allocations: 1.094 kB / 1.223 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03564/0.8441, allocations: 2.997 MB / 1.226 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.253/9.097, allocations: 8.047 kB / 1.226 GB, free: 9.586 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled_fmu --startTime=0 --stopTime=604800 --stepSize=241.92 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.200037346221507]