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.002456/0.002456, allocations: 81.48 kB / 19.44 MB, free: 348 kB / 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.003341/0.003341, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.563/1.563, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 3.376/3.376, allocations: 429.5 MB / 0.6729 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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 1.603e-06/1.603e-06, allocations: 0 / 0.8774 GB, free: 6.703 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.437e-05, allocations: 5.125 kB / 0.8774 GB, free: 6.699 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001936/0.00196, allocations: 0.716 MB / 0.8781 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002642/0.004603, allocations: 1.582 MB / 0.8797 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.97e-05/0.004672, allocations: 0 / 0.8797 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.909e-05/0.004702, allocations: 3.938 kB / 0.8797 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001765/0.004878, allocations: 20.45 kB / 0.8797 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006285/0.005507, allocations: 173.5 kB / 0.8798 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002248/0.005731, allocations: 119.6 kB / 0.88 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.184e-05/0.005823, allocations: 9.594 kB / 0.88 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002454/0.006069, allocations: 79.8 kB / 0.88 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.006178, allocations: 43.88 kB / 0.8801 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.452e-05/0.006223, allocations: 14.97 kB / 0.8801 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002664/0.006489, allocations: 115.8 kB / 0.8802 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.34e-05/0.006533, allocations: 27.91 kB / 0.8802 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.282e-05/0.006595, allocations: 31.91 kB / 0.8803 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000438/0.007033, allocations: 247.3 kB / 0.8805 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.007036, allocations: 0 / 0.8805 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.61e-07/0.007037, allocations: 0 / 0.8805 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.007042, allocations: 0 / 0.8805 GB, free: 3.551 MB / 0.8386 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.0008685/0.00791, allocations: 470 kB / 0.8809 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.007947, allocations: 8.031 kB / 0.881 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003751/0.008322, allocations: 38.16 kB / 0.881 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.008484, allocations: 132.4 kB / 0.8811 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.749e-05/0.008582, allocations: 59.97 kB / 0.8812 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.0086, allocations: 12.38 kB / 0.8812 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.008822, allocations: 120.3 kB / 0.8813 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.008832, allocations: 192 / 0.8813 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.008849, allocations: 8.125 kB / 0.8813 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.008854, allocations: 0 / 0.8813 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.008981, allocations: 47.91 kB / 0.8814 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007692/0.00975, allocations: 0.5912 MB / 0.8819 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005491/0.0103, allocations: 173.1 kB / 0.8821 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.287e-05/0.01039, allocations: 55.08 kB / 0.8822 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.01041, allocations: 4 kB / 0.8822 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002213/0.01063, allocations: 124.1 kB / 0.8823 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 1.021e-06/0.01064, allocations: 0 / 0.8823 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0003854/0.01102, allocations: 149.5 kB / 0.8824 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.665e-05/0.01112, allocations: 110.8 kB / 0.8825 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.01129, allocations: 194 kB / 0.8827 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.21e-05/0.01133, allocations: 33.7 kB / 0.8827 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.01143, allocations: 147.1 kB / 0.8829 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.321e-05/0.01147, allocations: 35.81 kB / 0.8829 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.667e-05/0.01156, allocations: 51.34 kB / 0.883 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002685/0.01183, allocations: 0.4922 MB / 0.8834 GB, free: 252 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.661e-05/0.01193, allocations: 35.98 kB / 0.8835 GB, free: 216 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.369e-05/0.01202, allocations: 35.98 kB / 0.8835 GB, free: 180 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.01221, allocations: 91.25 kB / 0.8836 GB, free: 88 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.01221, allocations: 3.938 kB / 0.8836 GB, free: 84 kB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002852/0.01249, allocations: 129.6 kB / 0.8837 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.01251, allocations: 12 kB / 0.8837 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.01251, allocations: 0 / 0.8837 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.01253, allocations: 0 / 0.8837 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.01266, allocations: 19.98 kB / 0.8838 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.01267, allocations: 11.92 kB / 0.8838 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.276e-05/0.01275, allocations: 12.2 kB / 0.8838 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.01276, allocations: 4 kB / 0.8838 GB, free: 15.89 MB / 0.8542 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.0001387/0.0129, allocations: 172.5 kB / 0.8839 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.01294, allocations: 15.94 kB / 0.884 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002595/0.01319, allocations: 118.1 kB / 0.8841 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.0132, allocations: 4 kB / 0.8841 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.0132, allocations: 0 / 0.8841 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.01321, allocations: 3.984 kB / 0.8841 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/0.01341, allocations: 168.5 kB / 0.8842 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.01341, allocations: 3.938 kB / 0.8842 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.44e-05/0.01351, allocations: 20 kB / 0.8843 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.01351, allocations: 0 / 0.8843 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.01353, allocations: 7.984 kB / 0.8843 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.01353, allocations: 3.938 kB / 0.8843 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01353, allocations: 4 kB / 0.8843 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003168/0.01385, allocations: 195.7 kB / 0.8845 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.488e-05/0.01392, allocations: 27.88 kB / 0.8845 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.01394, allocations: 0 / 0.8845 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.794e-05/0.01402, allocations: 8 kB / 0.8845 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.998e-05/0.01408, allocations: 15.97 kB / 0.8845 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.01409, allocations: 11.94 kB / 0.8845 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001012/0.01419, allocations: 147.1 kB / 0.8847 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01419, allocations: 0 / 0.8847 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002953/0.01449, allocations: 71.69 kB / 0.8847 GB, free: 14.83 MB / 0.8542 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.00029/0.01478, allocations: 175 kB / 0.8849 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002805/0.01506, allocations: 107.5 kB / 0.885 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01506, allocations: 0 / 0.885 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.01518, allocations: 67.59 kB / 0.8851 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.01538, allocations: 19.92 kB / 0.8851 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005004/0.01588, allocations: 237.9 kB / 0.8853 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.841e-05/0.01597, allocations: 89.31 kB / 0.8854 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.814e-05/0.01604, allocations: 20.23 kB / 0.8854 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.258e-05/0.01609, allocations: 20.48 kB / 0.8854 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of SimCode: time 4.51e-07/0.01609, allocations: 0 / 0.8854 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of Templates: time 0.00571/0.0218, allocations: 1.987 MB / 0.8874 GB, free: 12.07 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 240] 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: 8.610897773993202]