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.001387/0.001387, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001432/0.001432, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.642/1.642, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.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.768/2.768, allocations: 443.5 MB / 0.7304 GB, free: 14.03 MB / 0.5762 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_10_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_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 71.89 kB / 1.059 GB, free: 428 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.37, allocations: 160.7 MB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.00243/0.3724, allocations: 0.7354 MB / 1.217 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00245/0.3749, allocations: 1.545 MB / 1.218 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.161e-05/0.3749, allocations: 0 / 1.218 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.1e-05/0.375, allocations: 7.875 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001983/0.3752, allocations: 27.84 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004643/0.3756, allocations: 155.5 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.3758, allocations: 115.7 kB / 1.219 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.376, allocations: 12 kB / 1.219 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.3761, allocations: 51.83 kB / 1.219 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.3763, allocations: 63.75 kB / 1.219 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.768e-05/0.3763, allocations: 12 kB / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002122/0.3765, allocations: 91.92 kB / 1.219 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.582e-05/0.3765, allocations: 23.97 kB / 1.219 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.849e-05/0.3766, allocations: 43.8 kB / 1.219 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003456/0.3769, allocations: 207.3 kB / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3769, allocations: 0 / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3769, allocations: 0 / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.377, allocations: 0 / 1.219 GB, free: 12.29 MB / 0.9669 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.0008715/0.3778, allocations: 430.8 kB / 1.22 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.3779, allocations: 16.02 kB / 1.22 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.432e-05/0.3779, allocations: 8.891 kB / 1.22 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.3781, allocations: 180.2 kB / 1.22 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.766e-05/0.3782, allocations: 30.27 kB / 1.22 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.681e-05/0.3782, allocations: 8.375 kB / 1.22 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.3784, allocations: 104.3 kB / 1.22 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.3784, allocations: 0 / 1.22 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.3784, allocations: 0 / 1.22 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.3785, allocations: 4 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.3786, allocations: 47.91 kB / 1.22 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007513/0.3793, allocations: 0.5166 MB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005239/0.3799, allocations: 135.7 kB / 1.221 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.909e-05/0.3799, allocations: 42.66 kB / 1.221 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.38, allocations: 12.05 kB / 1.221 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002798/0.3802, allocations: 113.9 kB / 1.221 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.483e-06/0.3802, allocations: 7.938 kB / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0003573/0.3806, allocations: 137.5 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.548e-05/0.3807, allocations: 110.8 kB / 1.221 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.3808, allocations: 125.8 kB / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.3808, allocations: 29.7 kB / 1.221 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.94e-05/0.3809, allocations: 96.31 kB / 1.221 GB, free: 9.887 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.3809, allocations: 27.8 kB / 1.221 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.98e-05/0.381, allocations: 37.83 kB / 1.221 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.3812, allocations: 322.8 kB / 1.222 GB, free: 9.492 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.3813, allocations: 43.92 kB / 1.222 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.027e-05/0.3814, allocations: 42 kB / 1.222 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.3815, allocations: 72.84 kB / 1.222 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3815, allocations: 4 kB / 1.222 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003758/0.3819, allocations: 127 kB / 1.222 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.3819, allocations: 4 kB / 1.222 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3819, allocations: 0 / 1.222 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.382, allocations: 4 kB / 1.222 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.3821, allocations: 23.92 kB / 1.222 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.3821, allocations: 0 / 1.222 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.41e-05/0.3822, allocations: 23.88 kB / 1.222 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.3822, allocations: 3.938 kB / 1.222 GB, free: 9.145 MB / 0.9669 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.0001147/0.3823, allocations: 123.7 kB / 1.222 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.198e-05/0.3823, allocations: 7.953 kB / 1.222 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000257/0.3826, allocations: 118 kB / 1.222 GB, free: 8.883 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.3826, allocations: 4 kB / 1.222 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3826, allocations: 0 / 1.222 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3826, allocations: 0 / 1.222 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.3828, allocations: 221.4 kB / 1.222 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3828, allocations: 3.938 kB / 1.222 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.3829, allocations: 27.92 kB / 1.222 GB, free: 8.582 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.285e-05/0.3829, allocations: 4 kB / 1.222 GB, free: 8.578 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.383, allocations: 4 kB / 1.222 GB, free: 8.574 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.383, allocations: 0 / 1.222 GB, free: 8.574 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.383, allocations: 4 kB / 1.222 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.3832, allocations: 180.1 kB / 1.223 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.371e-05/0.3833, allocations: 97.28 kB / 1.223 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.011e-05/0.3834, allocations: 11.94 kB / 1.223 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.816e-05/0.3834, allocations: 8 kB / 1.223 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.754e-05/0.3835, allocations: 23.91 kB / 1.223 GB, free: 8.215 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.3835, allocations: 4 kB / 1.223 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.154e-05/0.3836, allocations: 103.1 kB / 1.223 GB, free: 8.113 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3836, allocations: 0 / 1.223 GB, free: 8.113 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003021/0.3839, allocations: 59.8 kB / 1.223 GB, free: 8.055 MB / 0.9669 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.0002632/0.3842, allocations: 155 kB / 1.223 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002664/0.3844, allocations: 99.95 kB / 1.223 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3844, allocations: 3.938 kB / 1.223 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.974e-05/0.3845, allocations: 47.92 kB / 1.223 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.3848, allocations: 9.406 kB / 1.223 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005259/0.3853, allocations: 244.9 kB / 1.223 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.3856, allocations: 0.704 MB / 1.224 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.519e-05/0.3857, allocations: 12.55 kB / 1.224 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.879e-05/0.3857, allocations: 19.44 kB / 1.224 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of SimCode: time 5.01e-07/0.3857, allocations: 0 / 1.224 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of Templates: time 0.005613/0.3914, allocations: 1.788 MB / 1.226 GB, free: 4.926 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile [Timeout 300] (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 & ./Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.868259318172932]