Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.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.001278/0.001278, 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.001363/0.001363, allocations: 169.9 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.9134/0.9134, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.739/1.739, allocations: 377.8 MB / 0.6221 GB, free: 8.672 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.CDL.Reals.Validation.Abs,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.608e-06/4.608e-06, allocations: 0 / 0.981 GB, free: 2.523 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.535e-05/3.995e-05, allocations: 4.953 kB / 0.981 GB, free: 2.52 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.00191/0.00195, allocations: 0.6716 MB / 0.9817 GB, free: 1.848 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009605/0.00291, allocations: 0.8627 MB / 0.9825 GB, free: 0.9727 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.202e-05/0.002952, allocations: 0 / 0.9825 GB, free: 0.9727 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.68e-05/0.002989, allocations: 3.938 kB / 0.9825 GB, free: 0.9688 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.318e-05/0.003062, allocations: 3.938 kB / 0.9825 GB, free: 0.9648 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002044/0.003267, allocations: 23.91 kB / 0.9826 GB, free: 0.9414 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.895e-05/0.003346, allocations: 23.92 kB / 0.9826 GB, free: 0.918 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.003463, allocations: 4 kB / 0.9826 GB, free: 0.9141 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 8.65e-05/0.003549, allocations: 15.98 kB / 0.9826 GB, free: 0.8984 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.101e-05/0.00359, allocations: 4 kB / 0.9826 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.003614, allocations: 0 / 0.9826 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 9.358e-06/0.003623, allocations: 4 kB / 0.9826 GB, free: 0.8906 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.003642, allocations: 7.984 kB / 0.9826 GB, free: 0.8828 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.307e-05/0.003665, allocations: 3.938 kB / 0.9826 GB, free: 0.8789 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.439e-05/0.003759, allocations: 27.95 kB / 0.9826 GB, free: 0.8516 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.003763, allocations: 0 / 0.9826 GB, free: 0.8516 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.523e-06/0.003764, allocations: 4 kB / 0.9826 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.003769, allocations: 0 / 0.9826 GB, free: 0.8477 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003993/0.004169, allocations: 254.4 kB / 0.9829 GB, free: 0.5664 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.004218, allocations: 12.03 kB / 0.9829 GB, free: 0.5547 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.25e-05/0.00425, allocations: 30.75 kB / 0.9829 GB, free: 0.5156 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.375e-05/0.004274, allocations: 8.891 kB / 0.9829 GB, free: 0.5078 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.274e-05/0.004367, allocations: 113.7 kB / 0.983 GB, free: 380 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.004378, allocations: 384 / 0.983 GB, free: 380 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.225e-06/0.004387, allocations: 384 / 0.983 GB, free: 380 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.004524, allocations: 62.16 kB / 0.9831 GB, free: 312 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.004532, allocations: 192 / 0.9831 GB, free: 312 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.00454, allocations: 384 / 0.9831 GB, free: 312 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.004546, allocations: 4.125 kB / 0.9831 GB, free: 308 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.874e-05/0.004634, allocations: 31.97 kB / 0.9831 GB, free: 276 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002857/0.00492, allocations: 212.1 kB / 0.9833 GB, free: 20 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 9.99e-05/0.00502, allocations: 34.56 kB / 0.9834 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.784e-05/0.005078, allocations: 32.84 kB / 0.9834 GB, free: 15.94 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.005099, allocations: 3.984 kB / 0.9834 GB, free: 15.94 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.005119, allocations: 38.44 kB / 0.9835 GB, free: 15.89 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.00512, allocations: 3.938 kB / 0.9835 GB, free: 15.89 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002295/0.00535, allocations: 77.66 kB / 0.9835 GB, free: 15.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.005383, allocations: 55.39 kB / 0.9836 GB, free: 15.74 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.192e-05/0.005445, allocations: 97.86 kB / 0.9837 GB, free: 15.63 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.005455, allocations: 29.83 kB / 0.9837 GB, free: 15.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.725e-05/0.005502, allocations: 88.09 kB / 0.9838 GB, free: 15.51 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.005521, allocations: 3.953 kB / 0.9838 GB, free: 15.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.00555, allocations: 17.7 kB / 0.9838 GB, free: 15.48 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.728e-05/0.005637, allocations: 314.8 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.695e-05/0.005684, allocations: 15.92 kB / 0.9841 GB, free: 15.15 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.848e-05/0.005722, allocations: 19.98 kB / 0.9841 GB, free: 15.13 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.484e-05/0.005807, allocations: 44.88 kB / 0.9842 GB, free: 15.08 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.00581, allocations: 0 / 0.9842 GB, free: 15.08 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000105/0.005915, allocations: 61.61 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.00593, allocations: 11.98 kB / 0.9843 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.005935, allocations: 0 / 0.9843 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.005947, allocations: 0 / 0.9843 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.161e-05/0.006019, allocations: 4 kB / 0.9843 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.006024, allocations: 0 / 0.9843 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.423e-05/0.006048, allocations: 15.95 kB / 0.9843 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-06/0.006054, allocations: 4 kB / 0.9843 GB, free: 14.98 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.458e-05/0.006109, allocations: 109.8 kB / 0.9844 GB, free: 14.86 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.006121, allocations: 3.938 kB / 0.9844 GB, free: 14.86 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.143e-05/0.006142, allocations: 7.312 kB / 0.9844 GB, free: 14.86 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.006145, allocations: 3.984 kB / 0.9844 GB, free: 14.85 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.00615, allocations: 0 / 0.9844 GB, free: 14.85 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.006152, allocations: 0 / 0.9844 GB, free: 14.85 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.006254, allocations: 120.8 kB / 0.9845 GB, free: 14.69 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.006255, allocations: 4 kB / 0.9845 GB, free: 14.69 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.922e-05/0.006284, allocations: 11.98 kB / 0.9845 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.006286, allocations: 3.938 kB / 0.9845 GB, free: 14.67 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.006292, allocations: 0 / 0.9845 GB, free: 14.67 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.006293, allocations: 0 / 0.9845 GB, free: 14.67 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.006295, allocations: 4 kB / 0.9845 GB, free: 14.67 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.006427, allocations: 159.5 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.518e-06/0.006437, allocations: 15.88 kB / 0.9847 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.00645, allocations: 7.953 kB / 0.9847 GB, free: 14.47 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.654e-05/0.006487, allocations: 8 kB / 0.9847 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/0.006527, allocations: 3.984 kB / 0.9847 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.006531, allocations: 0 / 0.9847 GB, free: 14.46 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.205e-05/0.006563, allocations: 83.45 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.006563, allocations: 0 / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001455/0.006709, allocations: 7.938 kB / 0.9848 GB, free: 14.37 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0006698/0.007378, allocations: 0.6968 MB / 0.9855 GB, free: 13.65 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001403/0.007519, allocations: 39.89 kB / 0.9855 GB, free: 13.61 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.007521, allocations: 0 / 0.9855 GB, free: 13.61 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.023e-05/0.007561, allocations: 19.98 kB / 0.9855 GB, free: 13.59 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.007821, allocations: 4 kB / 0.9856 GB, free: 13.59 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003493/0.00817, allocations: 126.5 kB / 0.9857 GB, free: 13.42 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.732e-05/0.008218, allocations: 63.47 kB / 0.9857 GB, free: 13.34 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.973e-05/0.008237, allocations: 0 / 0.9857 GB, free: 13.34 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.543e-05/0.008273, allocations: 16.5 kB / 0.9857 GB, free: 13.32 MB / 0.948 GB Notification: Performance of SimCode: time 5.81e-07/0.008273, allocations: 0 / 0.9857 GB, free: 13.32 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01546/0.02373, allocations: 1.938 MB / 0.9876 GB, free: 11.51 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.744/6.768, allocations: 10.42 kB / 0.9876 GB, free: 11.51 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Abs.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Abs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable abs1.u in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.csv. Warning: Get data of variable abs1.u from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.96536087244749]