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.0009702/0.0009702, allocations: 72.44 kB / 19.17 MB, free: 0.7344 MB / 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.001088/0.001088, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.9102/0.9102, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.746/1.746, allocations: 377.8 MB / 0.6221 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.9809 GB, free: 1.5 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.188e-05, allocations: 6.281 kB / 0.9809 GB, free: 1.492 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001895/0.001917, allocations: 0.7025 MB / 0.9816 GB, free: 0.793 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.002107/0.004024, allocations: 1.544 MB / 0.9831 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.497e-05/0.004089, allocations: 0 / 0.9831 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.767e-05/0.004127, allocations: 7.922 kB / 0.9831 GB, free: 15.22 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.004311, allocations: 19.8 kB / 0.9831 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005443/0.004855, allocations: 178.9 kB / 0.9833 GB, free: 15.03 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.000183/0.005038, allocations: 123.6 kB / 0.9834 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.005154, allocations: 11.98 kB / 0.9834 GB, free: 14.9 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002242/0.005378, allocations: 71.88 kB / 0.9835 GB, free: 14.83 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 9.666e-05/0.005474, allocations: 43.88 kB / 0.9836 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.005501, allocations: 12 kB / 0.9836 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002617/0.005763, allocations: 119.8 kB / 0.9837 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.331e-05/0.005796, allocations: 31.89 kB / 0.9837 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.098e-05/0.005837, allocations: 35.91 kB / 0.9837 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002654/0.006103, allocations: 243.3 kB / 0.984 GB, free: 14.35 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.006106, allocations: 0 / 0.984 GB, free: 14.35 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.102e-06/0.006107, allocations: 0 / 0.984 GB, free: 14.35 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.006112, allocations: 0 / 0.984 GB, free: 14.35 MB / 0.9011 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.0005144/0.006626, allocations: 361.6 kB / 0.9843 GB, free: 13.97 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.006666, allocations: 8.031 kB / 0.9843 GB, free: 13.96 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.385e-05/0.0067, allocations: 42.67 kB / 0.9844 GB, free: 13.91 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001903/0.00689, allocations: 28.86 kB / 0.9844 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.596e-05/0.006986, allocations: 125.6 kB / 0.9845 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.687e-05/0.007053, allocations: 59.97 kB / 0.9846 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.007069, allocations: 8.375 kB / 0.9846 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.007208, allocations: 96.78 kB / 0.9847 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.007215, allocations: 192 / 0.9847 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.007227, allocations: 11.94 kB / 0.9847 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.007232, allocations: 0 / 0.9847 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.856e-05/0.00731, allocations: 51.84 kB / 0.9847 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004671/0.007778, allocations: 484.1 kB / 0.9852 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/0.008086, allocations: 131.8 kB / 0.9853 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.917e-05/0.008136, allocations: 46.56 kB / 0.9854 GB, free: 12.75 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.008154, allocations: 0 / 0.9854 GB, free: 12.75 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000194/0.008348, allocations: 121.8 kB / 0.9855 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=11): time 8.82e-07/0.008349, allocations: 0 / 0.9855 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of matching and sorting (n=11): time 0.0002569/0.008606, allocations: 141.5 kB / 0.9856 GB, free: 12.46 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.008652, allocations: 106.8 kB / 0.9857 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.351e-05/0.008726, allocations: 129.8 kB / 0.9858 GB, free: 12.2 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.00874, allocations: 29.7 kB / 0.9859 GB, free: 12.16 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.271e-05/0.008783, allocations: 88.38 kB / 0.986 GB, free: 12.07 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.008807, allocations: 35.86 kB / 0.986 GB, free: 12.04 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/0.008853, allocations: 37.7 kB / 0.986 GB, free: 11.99 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.055e-05/0.008933, allocations: 326.8 kB / 0.9863 GB, free: 11.66 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.386e-05/0.008997, allocations: 31.98 kB / 0.9864 GB, free: 11.63 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.722e-05/0.009054, allocations: 39.92 kB / 0.9864 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.009162, allocations: 72.84 kB / 0.9865 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.009164, allocations: 4 kB / 0.9865 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001555/0.009319, allocations: 128.2 kB / 0.9866 GB, free: 11.39 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.009334, allocations: 8 kB / 0.9866 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.009339, allocations: 3.938 kB / 0.9866 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.009351, allocations: 4 kB / 0.9866 GB, free: 11.37 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.365e-05/0.009424, allocations: 27.92 kB / 0.9866 GB, free: 11.34 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.009429, allocations: 0 / 0.9866 GB, free: 11.34 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.11e-05/0.00948, allocations: 15.88 kB / 0.9867 GB, free: 11.33 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.009489, allocations: 4 kB / 0.9867 GB, free: 11.32 MB / 0.9011 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.643e-05/0.009566, allocations: 130.1 kB / 0.9868 GB, free: 11.19 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.302e-05/0.009579, allocations: 7.953 kB / 0.9868 GB, free: 11.18 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001717/0.009751, allocations: 122.2 kB / 0.9869 GB, free: 11.05 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.009753, allocations: 0 / 0.9869 GB, free: 11.05 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.009758, allocations: 4 kB / 0.9869 GB, free: 11.05 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.009762, allocations: 0 / 0.9869 GB, free: 11.05 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.009885, allocations: 184.8 kB / 0.9871 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.009887, allocations: 0 / 0.9871 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.212e-05/0.009939, allocations: 27.92 kB / 0.9871 GB, free: 10.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.009941, allocations: 0 / 0.9871 GB, free: 10.8 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.009952, allocations: 8 kB / 0.9871 GB, free: 10.79 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.009954, allocations: 0 / 0.9871 GB, free: 10.79 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.009956, allocations: 4 kB / 0.9871 GB, free: 10.79 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/0.01012, allocations: 178.6 kB / 0.9873 GB, free: 10.59 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 3.908e-05/0.01016, allocations: 23.83 kB / 0.9873 GB, free: 10.57 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.01018, allocations: 8 kB / 0.9873 GB, free: 10.56 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.725e-05/0.01021, allocations: 7.984 kB / 0.9873 GB, free: 10.55 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.01025, allocations: 15.92 kB / 0.9874 GB, free: 10.54 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.01026, allocations: 4 kB / 0.9874 GB, free: 10.53 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 4.379e-05/0.01031, allocations: 99.27 kB / 0.9875 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.01031, allocations: 0 / 0.9875 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002138/0.01052, allocations: 67.73 kB / 0.9875 GB, free: 10.37 MB / 0.9011 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.0004816/0.011, allocations: 0.7816 MB / 0.9883 GB, free: 9.551 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001722/0.01117, allocations: 106.6 kB / 0.9884 GB, free: 9.449 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01118, allocations: 0 / 0.9884 GB, free: 9.449 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 6.237e-05/0.01124, allocations: 51.91 kB / 0.9884 GB, free: 9.398 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000168/0.01141, allocations: 11.98 kB / 0.9884 GB, free: 9.387 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.01258, allocations: 1.543 MB / 0.99 GB, free: 7.742 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.485e-05/0.01264, allocations: 85.45 kB / 0.99 GB, free: 7.637 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 4.975e-05/0.01269, allocations: 16.61 kB / 0.99 GB, free: 7.621 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.937e-05/0.01275, allocations: 36.48 kB / 0.9901 GB, free: 7.586 MB / 0.9011 GB Notification: Performance of SimCode: time 4.61e-07/0.01275, allocations: 3.938 kB / 0.9901 GB, free: 7.582 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01853/0.03128, allocations: 3.924 MB / 0.9939 GB, free: 3.824 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.733/6.765, allocations: 2.734 kB / 0.9939 GB, free: 3.824 MB / 0.9011 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.csv --start-time 0 --stop-time 604800 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 241.92 Buildings_12_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.csv","/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: 10.87462017312646]