Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.0007892/0.0007892, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008224/0.0008224, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8883/0.8883, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.682/1.682, allocations: 377.9 MB / 0.6221 GB, free: 8.656 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.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.981 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.464e-05/2.642e-05, allocations: 9.375 kB / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002749/0.002776, allocations: 1.654 MB / 0.9826 GB, free: 0.9141 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001719/0.004494, allocations: 1.375 MB / 0.9839 GB, free: 15.53 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.386e-05/0.004588, allocations: 0 / 0.9839 GB, free: 15.53 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.000289/0.004877, allocations: 35.7 kB / 0.984 GB, free: 15.5 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004459/0.005323, allocations: 107.4 kB / 0.9841 GB, free: 15.39 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000357/0.00568, allocations: 130.7 kB / 0.9842 GB, free: 15.27 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002948/0.005975, allocations: 257.5 kB / 0.9844 GB, free: 15.02 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.006098, allocations: 12 kB / 0.9845 GB, free: 15 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.00627, allocations: 119.8 kB / 0.9846 GB, free: 14.89 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.00646, allocations: 90.39 kB / 0.9847 GB, free: 14.8 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.257e-05/0.006493, allocations: 20 kB / 0.9847 GB, free: 14.78 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002116/0.006705, allocations: 119.8 kB / 0.9848 GB, free: 14.66 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.006814, allocations: 95.67 kB / 0.9849 GB, free: 14.57 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 7.918e-05/0.006893, allocations: 67.77 kB / 0.9849 GB, free: 14.5 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000392/0.007285, allocations: 354.8 kB / 0.9853 GB, free: 14.16 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.007288, allocations: 0 / 0.9853 GB, free: 14.16 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.583e-06/0.007289, allocations: 0 / 0.9853 GB, free: 14.16 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.007297, allocations: 0 / 0.9853 GB, free: 14.16 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007683/0.008065, allocations: 0.4901 MB / 0.9858 GB, free: 13.63 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.008116, allocations: 12.03 kB / 0.9858 GB, free: 13.62 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.625e-05/0.008172, allocations: 50.73 kB / 0.9858 GB, free: 13.56 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.774e-05/0.00824, allocations: 28.75 kB / 0.9858 GB, free: 13.53 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.008479, allocations: 212.8 kB / 0.9861 GB, free: 13.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.008503, allocations: 20.7 kB / 0.9861 GB, free: 13.28 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.503e-05/0.008538, allocations: 12.38 kB / 0.9861 GB, free: 13.27 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005201/0.009058, allocations: 301.5 kB / 0.9864 GB, free: 12.94 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.009068, allocations: 4.125 kB / 0.9864 GB, free: 12.93 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.009087, allocations: 15.88 kB / 0.9864 GB, free: 12.92 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.009096, allocations: 4 kB / 0.9864 GB, free: 12.91 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005511/0.009647, allocations: 0.6946 MB / 0.9871 GB, free: 12.22 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000733/0.01038, allocations: 0.527 MB / 0.9876 GB, free: 11.64 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003725/0.01075, allocations: 288.8 kB / 0.9879 GB, free: 11.36 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.01087, allocations: 97.94 kB / 0.988 GB, free: 11.26 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.127e-05/0.01091, allocations: 16.25 kB / 0.988 GB, free: 11.24 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002917/0.0112, allocations: 172 kB / 0.9881 GB, free: 11.06 MB / 0.948 GB Notification: Performance of pre-optimization done (n=35): time 1.673e-06/0.0112, allocations: 0 / 0.9881 GB, free: 11.06 MB / 0.948 GB Notification: Performance of matching and sorting (n=35): time 0.0005283/0.01173, allocations: 387.3 kB / 0.9885 GB, free: 10.68 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.47e-05/0.01179, allocations: 132.5 kB / 0.9886 GB, free: 10.52 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/0.01203, allocations: 317.7 kB / 0.9889 GB, free: 10.21 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.01206, allocations: 37.7 kB / 0.989 GB, free: 10.16 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.121e-05/0.01212, allocations: 128.7 kB / 0.9891 GB, free: 10.04 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.68e-05/0.01219, allocations: 119 kB / 0.9892 GB, free: 9.918 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.439e-05/0.01225, allocations: 65.69 kB / 0.9893 GB, free: 9.848 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.32e-05/0.01235, allocations: 342.8 kB / 0.9896 GB, free: 9.504 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.01245, allocations: 87.7 kB / 0.9897 GB, free: 9.418 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.0126, allocations: 210 kB / 0.9899 GB, free: 9.184 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002269/0.01283, allocations: 217.1 kB / 0.9901 GB, free: 8.969 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.01283, allocations: 0 / 0.9901 GB, free: 8.969 MB / 0.948 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002961/0.01313, allocations: 292.9 kB / 0.9904 GB, free: 8.676 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.01314, allocations: 4 kB / 0.9904 GB, free: 8.672 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.01315, allocations: 4 kB / 0.9904 GB, free: 8.668 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.01316, allocations: 0 / 0.9904 GB, free: 8.668 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.0133, allocations: 63.91 kB / 0.9904 GB, free: 8.605 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.01331, allocations: 0 / 0.9904 GB, free: 8.605 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.139e-05/0.01339, allocations: 23.88 kB / 0.9905 GB, free: 8.582 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.01341, allocations: 19.98 kB / 0.9905 GB, free: 8.562 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.0001116/0.01352, allocations: 169.7 kB / 0.9906 GB, free: 8.387 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.047e-05/0.01355, allocations: 27.81 kB / 0.9907 GB, free: 8.359 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004134/0.01396, allocations: 380.7 kB / 0.991 GB, free: 7.984 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.01397, allocations: 8 kB / 0.991 GB, free: 7.977 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.01397, allocations: 0 / 0.991 GB, free: 7.977 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.01398, allocations: 7.922 kB / 0.991 GB, free: 7.969 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.01417, allocations: 276.4 kB / 0.9913 GB, free: 7.656 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.01418, allocations: 11.88 kB / 0.9913 GB, free: 7.645 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.01428, allocations: 59.97 kB / 0.9914 GB, free: 7.586 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.01428, allocations: 0 / 0.9914 GB, free: 7.586 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.0143, allocations: 11.98 kB / 0.9914 GB, free: 7.574 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.0143, allocations: 4 kB / 0.9914 GB, free: 7.57 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.0143, allocations: 3.938 kB / 0.9914 GB, free: 7.566 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003018/0.0146, allocations: 326.5 kB / 0.9917 GB, free: 7.227 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.553e-05/0.01468, allocations: 75.67 kB / 0.9918 GB, free: 7.152 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.0147, allocations: 8 kB / 0.9918 GB, free: 7.145 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.605e-05/0.01477, allocations: 15.98 kB / 0.9918 GB, free: 7.129 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.01481, allocations: 23.95 kB / 0.9918 GB, free: 7.105 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.01482, allocations: 12 kB / 0.9918 GB, free: 7.094 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001407/0.01496, allocations: 241.2 kB / 0.9921 GB, free: 6.859 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01496, allocations: 0 / 0.9921 GB, free: 6.859 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002229/0.01519, allocations: 75.86 kB / 0.9921 GB, free: 6.785 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 33 * 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.001199/0.01639, allocations: 1.256 MB / 0.9934 GB, free: 5.688 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002808/0.01667, allocations: 224 kB / 0.9936 GB, free: 5.469 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01667, allocations: 0 / 0.9936 GB, free: 5.469 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.01679, allocations: 119.8 kB / 0.9937 GB, free: 5.352 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.01697, allocations: 34.92 kB / 0.9937 GB, free: 5.316 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.01897, allocations: 2.56 MB / 0.9962 GB, free: 2.672 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.945e-05/0.01906, allocations: 146.7 kB / 0.9964 GB, free: 2.512 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001914/0.01925, allocations: 150.9 kB / 0.9965 GB, free: 2.363 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.01936, allocations: 100.5 kB / 0.9966 GB, free: 2.266 MB / 0.948 GB Notification: Performance of SimCode: time 3.01e-07/0.01936, allocations: 0 / 0.9966 GB, free: 2.266 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01991/0.03928, allocations: 6.783 MB / 1.003 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.86/6.899, allocations: 13.22 kB / 1.003 GB, free: 11.53 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --stepSize=172.8 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.976485970430076]