Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.002258/0.002258, allocations: 85.48 kB / 19.44 MB, free: 344 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.002684/0.002684, allocations: 173.6 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.556/1.556, allocations: 177.1 MB / 203.1 MB, free: 5.621 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.301/3.301, allocations: 429.5 MB / 0.6729 GB, free: 3.992 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.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5001,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5001,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.8774 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.992e-05/3.179e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.004259/0.004291, allocations: 1.641 MB / 0.8791 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001695/0.005985, allocations: 0.5736 MB / 0.8796 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.83e-05/0.006054, allocations: 1.062 kB / 0.8796 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.575e-05/0.006099, allocations: 7.875 kB / 0.8796 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003449/0.006444, allocations: 41 kB / 0.8797 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.00667, allocations: 49.19 kB / 0.8797 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002396/0.00691, allocations: 127.5 kB / 0.8798 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.007039, allocations: 16.23 kB / 0.8798 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000279/0.007318, allocations: 80.52 kB / 0.8799 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.007488, allocations: 47.88 kB / 0.88 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.818e-05/0.007526, allocations: 8.562 kB / 0.88 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.928e-05/0.007615, allocations: 19.98 kB / 0.88 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.559e-05/0.007661, allocations: 25 kB / 0.88 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 9.009e-05/0.007751, allocations: 39.89 kB / 0.8801 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002867/0.008038, allocations: 116.3 kB / 0.8802 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.008041, allocations: 0 / 0.8802 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.743e-06/0.008043, allocations: 1.438 kB / 0.8802 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.008048, allocations: 0 / 0.8802 GB, free: 3.844 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001169/0.009216, allocations: 451.7 kB / 0.8806 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.804e-05/0.009274, allocations: 8.031 kB / 0.8806 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003225/0.009597, allocations: 24.89 kB / 0.8806 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.009825, allocations: 124.5 kB / 0.8807 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.242e-05/0.009857, allocations: 8.375 kB / 0.8808 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.097e-05/0.009888, allocations: 8.375 kB / 0.8808 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002922/0.01018, allocations: 96.69 kB / 0.8809 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.0102, allocations: 192 / 0.8809 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.01022, allocations: 1.312 kB / 0.8809 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.01023, allocations: 7.875 kB / 0.8809 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002297/0.01046, allocations: 55.97 kB / 0.8809 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.01158, allocations: 357.2 kB / 0.8813 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005657/0.01215, allocations: 135.1 kB / 0.8814 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.01233, allocations: 51.66 kB / 0.8814 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.173e-05/0.01236, allocations: 7.469 kB / 0.8814 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003521/0.01271, allocations: 117 kB / 0.8816 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.964e-06/0.01271, allocations: 0 / 0.8816 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.0006605/0.01337, allocations: 176.9 kB / 0.8817 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.508e-05/0.01345, allocations: 51.41 kB / 0.8818 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.01372, allocations: 189.9 kB / 0.882 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.882e-05/0.01377, allocations: 33.7 kB / 0.882 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.01391, allocations: 138.9 kB / 0.8821 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.675e-05/0.014, allocations: 48.52 kB / 0.8822 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.01413, allocations: 43.36 kB / 0.8822 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003942/0.01452, allocations: 0.4962 MB / 0.8827 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.0147, allocations: 36.64 kB / 0.8827 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.01487, allocations: 45.28 kB / 0.8828 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003408/0.01521, allocations: 93.8 kB / 0.8829 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/0.01522, allocations: 7.938 kB / 0.8829 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005/0.01572, allocations: 141.5 kB / 0.883 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.01575, allocations: 9.344 kB / 0.883 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.01576, allocations: 0 / 0.883 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.01578, allocations: 0 / 0.883 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002952/0.01607, allocations: 31.92 kB / 0.883 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.704e-05/0.01609, allocations: 3.984 kB / 0.883 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.01625, allocations: 15.83 kB / 0.8831 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/0.01628, allocations: 8 kB / 0.8831 GB, free: 0.6836 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (eqnTim.k,$PRE.eqnTim.k,eqnTim.tNext,$PRE.eqnTim.tNext,locTim.k,$PRE.locTim.k,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0002301/0.01651, allocations: 168.5 kB / 0.8832 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.87e-05/0.01657, allocations: 19.94 kB / 0.8832 GB, free: 500 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005776/0.01715, allocations: 156.4 kB / 0.8834 GB, free: 336 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.01715, allocations: 4 kB / 0.8834 GB, free: 332 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.01716, allocations: 0 / 0.8834 GB, free: 332 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.01716, allocations: 4 kB / 0.8834 GB, free: 328 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.01827, allocations: 461.1 kB / 0.8838 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.01827, allocations: 0 / 0.8838 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.01845, allocations: 19.94 kB / 0.8839 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.01846, allocations: 0 / 0.8839 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.01848, allocations: 3.984 kB / 0.8839 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.01849, allocations: 0 / 0.8839 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.01849, allocations: 0 / 0.8839 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000687/0.01917, allocations: 314.5 kB / 0.8842 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.688e-05/0.01921, allocations: 7.953 kB / 0.8842 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.431e-05/0.01927, allocations: 7.984 kB / 0.8842 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.01948, allocations: 8 kB / 0.8842 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.896e-05/0.01957, allocations: 15.97 kB / 0.8842 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.68e-05/0.01961, allocations: 8 kB / 0.8842 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001775/0.01979, allocations: 143.1 kB / 0.8843 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.7e-07/0.01979, allocations: 0 / 0.8843 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004851/0.02027, allocations: 24 kB / 0.8844 GB, free: 15.27 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,locTim.tNext,locTim.k,eqnTim.tNext,eqnTim.k) * Number of discrete states: 4 (locTim.tNext,eqnTim.tNext,eqnTim.k,locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002105/0.02048, allocations: 107.2 kB / 0.8845 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004559/0.02094, allocations: 119.4 kB / 0.8846 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.02094, allocations: 4 kB / 0.8846 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000209/0.02115, allocations: 63.61 kB / 0.8847 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004323/0.02158, allocations: 19.88 kB / 0.8847 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008109/0.02239, allocations: 232.7 kB / 0.8849 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001525/0.02255, allocations: 85.31 kB / 0.885 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001041/0.02265, allocations: 16.97 kB / 0.885 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.566e-05/0.02274, allocations: 20.44 kB / 0.885 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of SimCode: time 8.12e-07/0.02275, allocations: 0 / 0.885 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of Templates: time 0.008072/0.03082, allocations: 1.222 MB / 0.8862 GB, free: 13.34 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.298637898056768]