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.0007932/0.0007932, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 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.0007807/0.0007807, allocations: 177.9 kB / 23.22 MB, free: 1.348 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.8507/0.8507, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.728/1.728, allocations: 389 MB / 0.6338 GB, free: 12.71 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: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 1.001 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.59e-05/3.818e-05, allocations: 2.281 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001949/0.001987, allocations: 0.6959 MB / 1.002 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001857/0.003844, allocations: 1.553 MB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.038e-05/0.003914, allocations: 4 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.465e-05/0.003949, allocations: 7.875 kB / 1.003 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001836/0.004133, allocations: 11.86 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004764/0.004609, allocations: 175.3 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.004767, allocations: 119.6 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.00487, allocations: 12 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/0.005051, allocations: 71.88 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.89e-05/0.00513, allocations: 39.88 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.005152, allocations: 12 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002001/0.005352, allocations: 119.8 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.841e-05/0.005381, allocations: 31.89 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.688e-05/0.005428, allocations: 39.84 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.005719, allocations: 243.3 kB / 1.004 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.005723, allocations: 0 / 1.004 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.553e-06/0.005724, allocations: 0 / 1.004 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.005729, allocations: 0 / 1.004 GB, free: 9.918 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.0005242/0.006253, allocations: 361.7 kB / 1.004 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.006291, allocations: 13.28 kB / 1.004 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002007/0.006492, allocations: 24.88 kB / 1.004 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.00661, allocations: 121.7 kB / 1.004 GB, free: 9.355 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.363e-05/0.006684, allocations: 59.97 kB / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.885e-05/0.006703, allocations: 8.375 kB / 1.004 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.00685, allocations: 107.2 kB / 1.005 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.006858, allocations: 4.172 kB / 1.005 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.006871, allocations: 8.125 kB / 1.005 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.006875, allocations: 4 kB / 1.005 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.985e-05/0.006955, allocations: 47.91 kB / 1.005 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004467/0.007402, allocations: 444.9 kB / 1.005 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003225/0.007724, allocations: 139.7 kB / 1.005 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.243e-05/0.007777, allocations: 46.66 kB / 1.005 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.007797, allocations: 7.938 kB / 1.005 GB, free: 8.398 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001901/0.007987, allocations: 105.9 kB / 1.005 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.007988, allocations: 0 / 1.005 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11): time 0.0002571/0.008245, allocations: 145.5 kB / 1.005 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.008293, allocations: 106.8 kB / 1.006 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.687e-05/0.00837, allocations: 133.7 kB / 1.006 GB, free: 7.855 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.008387, allocations: 33.64 kB / 1.006 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.584e-05/0.008433, allocations: 92.41 kB / 1.006 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.434e-05/0.008457, allocations: 31.7 kB / 1.006 GB, free: 7.688 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.406e-05/0.008511, allocations: 37.83 kB / 1.006 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.339e-05/0.008595, allocations: 322.8 kB / 1.006 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.748e-05/0.008662, allocations: 35.98 kB / 1.006 GB, free: 7.285 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.625e-05/0.008718, allocations: 39.92 kB / 1.006 GB, free: 7.246 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.00883, allocations: 79.78 kB / 1.006 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.008833, allocations: 3.938 kB / 1.006 GB, free: 7.164 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001612/0.008995, allocations: 129.6 kB / 1.006 GB, free: 7.031 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.009006, allocations: 4 kB / 1.006 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.009011, allocations: 0 / 1.006 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.009022, allocations: 0 / 1.006 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.384e-05/0.009096, allocations: 23.98 kB / 1.007 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.0091, allocations: 0 / 1.007 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.701e-05/0.009147, allocations: 19.92 kB / 1.007 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.009155, allocations: 256 / 1.007 GB, free: 6.984 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 7.664e-05/0.009232, allocations: 129.7 kB / 1.007 GB, free: 6.848 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.009248, allocations: 11.94 kB / 1.007 GB, free: 6.836 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001776/0.009425, allocations: 118.2 kB / 1.007 GB, free: 6.715 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.009429, allocations: 4 kB / 1.007 GB, free: 6.711 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.009434, allocations: 4 kB / 1.007 GB, free: 6.707 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.009439, allocations: 3.984 kB / 1.007 GB, free: 6.703 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.009554, allocations: 149.2 kB / 1.007 GB, free: 6.527 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.009557, allocations: 3.938 kB / 1.007 GB, free: 6.523 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.05e-05/0.009607, allocations: 20 kB / 1.007 GB, free: 6.504 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.009609, allocations: 0 / 1.007 GB, free: 6.504 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.009619, allocations: 3.984 kB / 1.007 GB, free: 6.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.009621, allocations: 4 kB / 1.007 GB, free: 6.496 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.009622, allocations: 0 / 1.007 GB, free: 6.496 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.009788, allocations: 170.7 kB / 1.007 GB, free: 6.305 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.518e-05/0.009834, allocations: 39.8 kB / 1.007 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.00985, allocations: 0 / 1.007 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.809e-05/0.009888, allocations: 8 kB / 1.007 GB, free: 6.258 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.009931, allocations: 15.97 kB / 1.007 GB, free: 6.242 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.759e-06/0.00994, allocations: 11.94 kB / 1.007 GB, free: 6.23 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.371e-05/0.009984, allocations: 95.27 kB / 1.007 GB, free: 6.137 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.1e-08/0.009984, allocations: 0 / 1.007 GB, free: 6.137 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002184/0.0102, allocations: 71.73 kB / 1.007 GB, free: 6.066 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.0002055/0.01041, allocations: 174.9 kB / 1.008 GB, free: 5.883 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001747/0.01058, allocations: 102.4 kB / 1.008 GB, free: 5.785 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01058, allocations: 0 / 1.008 GB, free: 5.785 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.34e-05/0.01065, allocations: 51.86 kB / 1.008 GB, free: 5.734 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.01081, allocations: 22.31 kB / 1.008 GB, free: 5.715 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003658/0.01118, allocations: 253 kB / 1.008 GB, free: 5.426 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.257e-05/0.01123, allocations: 85.44 kB / 1.008 GB, free: 5.32 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.01127, allocations: 24.5 kB / 1.008 GB, free: 5.297 MB / 0.9636 GB Notification: Performance of SimCode: time 4.61e-07/0.01127, allocations: 0 / 1.008 GB, free: 5.297 MB / 0.9636 GB Notification: Performance of Templates: time 0.002748/0.01402, allocations: 2.064 MB / 1.01 GB, free: 3.242 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 800] 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: 6.364913114346564]