Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001431/0.001431, allocations: 78.41 kB / 19.18 MB, free: 2.531 MB / 14.72 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.001543/0.001543, allocations: 168.7 kB / 22.46 MB, free: 5.363 MB / 14.72 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 1.543/1.543, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.978/2.978, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.9814 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.769e-05/3.949e-05, allocations: 14.22 kB / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002029/0.002069, allocations: 0.6998 MB / 0.9821 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002471/0.004539, allocations: 1.552 MB / 0.9836 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.194e-05/0.004611, allocations: 0 / 0.9836 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.825e-05/0.00466, allocations: 7.875 kB / 0.9836 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.004864, allocations: 27.78 kB / 0.9836 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000508/0.005372, allocations: 171.2 kB / 0.9838 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.005589, allocations: 119.7 kB / 0.9839 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.005709, allocations: 8 kB / 0.9839 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002575/0.005967, allocations: 79.81 kB / 0.984 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.006073, allocations: 39.94 kB / 0.984 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.006107, allocations: 12 kB / 0.984 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002545/0.006362, allocations: 119.8 kB / 0.9842 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.582e-05/0.006407, allocations: 27.91 kB / 0.9842 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.465e-05/0.006472, allocations: 35.91 kB / 0.9842 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003982/0.00687, allocations: 239.3 kB / 0.9844 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.006874, allocations: 0 / 0.9844 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of FrontEnd: time 8.31e-07/0.006875, allocations: 3.938 kB / 0.9844 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.826e-06/0.006884, allocations: 0 / 0.9844 GB, free: 8.844 MB / 0.9356 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.0008183/0.007702, allocations: 371.6 kB / 0.9848 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.007747, allocations: 8.031 kB / 0.9848 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003437/0.008091, allocations: 24.88 kB / 0.9848 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.008248, allocations: 117.7 kB / 0.9849 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.482e-05/0.008343, allocations: 59.97 kB / 0.985 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.008367, allocations: 12.38 kB / 0.985 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.008576, allocations: 104.7 kB / 0.9851 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.008585, allocations: 4.188 kB / 0.9851 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.0086, allocations: 4.125 kB / 0.9851 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.008607, allocations: 4 kB / 0.9851 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.008719, allocations: 43.97 kB / 0.9852 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006529/0.009372, allocations: 456.7 kB / 0.9856 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005102/0.009882, allocations: 143.7 kB / 0.9857 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.291e-05/0.009965, allocations: 46.66 kB / 0.9858 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.009985, allocations: 0 / 0.9858 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000242/0.01023, allocations: 113.9 kB / 0.9859 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.01023, allocations: 0 / 0.9859 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.0004118/0.01064, allocations: 137.5 kB / 0.986 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.01076, allocations: 114.7 kB / 0.9861 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.0109, allocations: 129.7 kB / 0.9863 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/0.01093, allocations: 33.7 kB / 0.9863 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.441e-05/0.01102, allocations: 92.53 kB / 0.9864 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.229e-05/0.01106, allocations: 35.75 kB / 0.9864 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.489e-05/0.01115, allocations: 33.7 kB / 0.9864 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002211/0.01137, allocations: 322.8 kB / 0.9868 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.01149, allocations: 31.98 kB / 0.9868 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.181e-05/0.01158, allocations: 39.08 kB / 0.9868 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.01177, allocations: 76.83 kB / 0.9869 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.01178, allocations: 7.875 kB / 0.9869 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002914/0.01207, allocations: 133.5 kB / 0.987 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.01209, allocations: 8 kB / 0.987 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.0121, allocations: 4 kB / 0.987 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.01212, allocations: 0 / 0.987 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.01225, allocations: 19.98 kB / 0.9871 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.01226, allocations: 0 / 0.9871 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.64e-05/0.01236, allocations: 15.94 kB / 0.9871 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.01238, allocations: 4 kB / 0.9871 GB, free: 5.898 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.0001636/0.01254, allocations: 131.8 kB / 0.9872 GB, free: 5.762 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.01257, allocations: 11.95 kB / 0.9872 GB, free: 5.75 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003159/0.01289, allocations: 110 kB / 0.9873 GB, free: 5.637 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.01289, allocations: 240 / 0.9873 GB, free: 5.637 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.0129, allocations: 4 kB / 0.9873 GB, free: 5.633 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.01291, allocations: 3.984 kB / 0.9873 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.01311, allocations: 149.2 kB / 0.9875 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.01311, allocations: 3.938 kB / 0.9875 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.701e-05/0.01321, allocations: 23.94 kB / 0.9875 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.01321, allocations: 0 / 0.9875 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.01323, allocations: 8.297 kB / 0.9875 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.01323, allocations: 0 / 0.9875 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/0.01324, allocations: 12 kB / 0.9875 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003171/0.01355, allocations: 177.6 kB / 0.9877 GB, free: 5.211 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.788e-05/0.01361, allocations: 27.83 kB / 0.9877 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.01364, allocations: 4 kB / 0.9877 GB, free: 5.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.001e-05/0.01372, allocations: 11.94 kB / 0.9877 GB, free: 5.168 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.216e-05/0.01379, allocations: 11.97 kB / 0.9877 GB, free: 5.156 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.01381, allocations: 8 kB / 0.9877 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.825e-05/0.01391, allocations: 95.27 kB / 0.9878 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.01391, allocations: 0 / 0.9878 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003248/0.01423, allocations: 75.73 kB / 0.9879 GB, free: 4.98 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.0003316/0.01456, allocations: 179.4 kB / 0.9881 GB, free: 4.797 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002702/0.01483, allocations: 87.91 kB / 0.9882 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.01484, allocations: 0 / 0.9882 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.01494, allocations: 47.92 kB / 0.9882 GB, free: 4.664 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.01517, allocations: 26.2 kB / 0.9882 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005088/0.01568, allocations: 227.1 kB / 0.9885 GB, free: 4.387 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.317e-05/0.01578, allocations: 89.44 kB / 0.9885 GB, free: 4.277 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.069e-05/0.01584, allocations: 12.48 kB / 0.9885 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.306e-05/0.01589, allocations: 20.5 kB / 0.9886 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of SimCode: time 3.4e-07/0.01589, allocations: 3.938 kB / 0.9886 GB, free: 4.242 MB / 0.9356 GB Notification: Performance of Templates: time 0.005814/0.0217, allocations: 1.962 MB / 0.9905 GB, free: 2.301 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.363130334764719]