Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.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.000793/0.000793, allocations: 80.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.0008532/0.0008532, allocations: 166.3 kB / 22.46 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.9232/0.9232, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.723/1.723, allocations: 377.8 MB / 0.6221 GB, free: 8.684 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.Round,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Round,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.088e-06/4.088e-06, allocations: 0 / 0.981 GB, free: 2.547 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/3.023e-05, allocations: 2.281 kB / 0.981 GB, free: 2.543 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.001574/0.001604, allocations: 0.7494 MB / 0.9818 GB, free: 1.793 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009363/0.002541, allocations: 0.8665 MB / 0.9826 GB, free: 0.9141 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.207e-05/0.002583, allocations: 0 / 0.9826 GB, free: 0.9141 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.151e-05/0.002614, allocations: 7.875 kB / 0.9826 GB, free: 0.9062 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.739e-05/0.002692, allocations: 11.88 kB / 0.9826 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.002851, allocations: 23.97 kB / 0.9827 GB, free: 0.8711 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.878e-05/0.00294, allocations: 71.83 kB / 0.9827 GB, free: 0.8008 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.003054, allocations: 15.97 kB / 0.9827 GB, free: 0.7852 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 8.473e-05/0.003139, allocations: 47.91 kB / 0.9828 GB, free: 0.7383 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.605e-05/0.003195, allocations: 23.95 kB / 0.9828 GB, free: 0.7148 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 3.081e-05/0.003226, allocations: 8 kB / 0.9828 GB, free: 0.707 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.103e-05/0.003237, allocations: 11.94 kB / 0.9828 GB, free: 0.6953 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.134e-05/0.003258, allocations: 11.98 kB / 0.9828 GB, free: 0.6836 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.714e-05/0.003285, allocations: 19.92 kB / 0.9829 GB, free: 0.6641 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.003399, allocations: 87.7 kB / 0.9829 GB, free: 0.5781 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.003402, allocations: 3.938 kB / 0.9829 GB, free: 0.5742 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.164e-06/0.003405, allocations: 0 / 0.9829 GB, free: 0.5742 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.00341, allocations: 0 / 0.9829 GB, free: 0.5742 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004946/0.003904, allocations: 302.1 kB / 0.9832 GB, free: 252 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.003952, allocations: 12.03 kB / 0.9832 GB, free: 240 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.068e-05/0.003993, allocations: 34.73 kB / 0.9833 GB, free: 196 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.954e-05/0.004023, allocations: 8.891 kB / 0.9833 GB, free: 188 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.00414, allocations: 121.7 kB / 0.9834 GB, free: 40 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.004154, allocations: 384 / 0.9834 GB, free: 40 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.004171, allocations: 8.375 kB / 0.9834 GB, free: 32 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.004361, allocations: 82.22 kB / 0.9835 GB, free: 15.94 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.004369, allocations: 192 / 0.9835 GB, free: 15.94 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.004379, allocations: 384 / 0.9835 GB, free: 15.94 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.004387, allocations: 12.12 kB / 0.9835 GB, free: 15.93 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001384/0.004526, allocations: 67.88 kB / 0.9836 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004283/0.004954, allocations: 275.9 kB / 0.9838 GB, free: 15.55 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.005122, allocations: 94.5 kB / 0.9839 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.642e-05/0.005199, allocations: 36.83 kB / 0.9839 GB, free: 15.41 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.005214, allocations: 0 / 0.9839 GB, free: 15.41 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.005237, allocations: 38.56 kB / 0.984 GB, free: 15.36 MB / 0.948 GB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.005238, allocations: 0 / 0.984 GB, free: 15.36 MB / 0.948 GB Notification: Performance of matching and sorting (n=6): time 0.0002953/0.005533, allocations: 137.6 kB / 0.9841 GB, free: 15.22 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.005566, allocations: 51.41 kB / 0.9842 GB, free: 15.16 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.495e-05/0.005641, allocations: 121.8 kB / 0.9843 GB, free: 15.03 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.005653, allocations: 25.7 kB / 0.9843 GB, free: 15 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.037e-05/0.005693, allocations: 100.1 kB / 0.9844 GB, free: 14.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.005718, allocations: 23.7 kB / 0.9844 GB, free: 14.88 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.00575, allocations: 25.7 kB / 0.9844 GB, free: 14.85 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.256e-05/0.005833, allocations: 318.8 kB / 0.9848 GB, free: 14.53 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.995e-05/0.005903, allocations: 32.08 kB / 0.9848 GB, free: 14.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.837e-05/0.005961, allocations: 35.91 kB / 0.9848 GB, free: 14.46 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.006088, allocations: 64.81 kB / 0.9849 GB, free: 14.39 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.006092, allocations: 3.938 kB / 0.9849 GB, free: 14.39 MB / 0.948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001657/0.006258, allocations: 109.6 kB / 0.985 GB, free: 14.28 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.006273, allocations: 4 kB / 0.985 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.006279, allocations: 0 / 0.985 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.006293, allocations: 0 / 0.985 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.702e-05/0.00639, allocations: 19.92 kB / 0.985 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.006395, allocations: 0 / 0.985 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.71e-05/0.006432, allocations: 11.98 kB / 0.985 GB, free: 14.24 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.00644, allocations: 4 kB / 0.985 GB, free: 14.24 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 (6): * Single equations (assignments): 6 * 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 6.574e-05/0.006506, allocations: 117.8 kB / 0.9851 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.585e-05/0.006521, allocations: 8.391 kB / 0.9851 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.537e-05/0.006547, allocations: 16.42 kB / 0.9852 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.00655, allocations: 0 / 0.9852 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.006554, allocations: 0 / 0.9852 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.006557, allocations: 0 / 0.9852 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.006687, allocations: 156.7 kB / 0.9853 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.006689, allocations: 0 / 0.9853 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.032e-05/0.006739, allocations: 15.98 kB / 0.9853 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.006741, allocations: 0 / 0.9853 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.006752, allocations: 7.984 kB / 0.9853 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.006753, allocations: 0 / 0.9853 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.006754, allocations: 4 kB / 0.9853 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.006954, allocations: 211.3 kB / 0.9855 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.268e-05/0.006967, allocations: 7.891 kB / 0.9855 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.006981, allocations: 4 kB / 0.9856 GB, free: 13.63 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.358e-05/0.007035, allocations: 7.984 kB / 0.9856 GB, free: 13.62 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.454e-05/0.00709, allocations: 11.98 kB / 0.9856 GB, free: 13.61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.83e-06/0.007094, allocations: 4 kB / 0.9856 GB, free: 13.61 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.974e-05/0.007134, allocations: 95.27 kB / 0.9857 GB, free: 13.52 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.007134, allocations: 4 kB / 0.9857 GB, free: 13.51 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001452/0.007279, allocations: 8 kB / 0.9857 GB, free: 13.5 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 (6): * Single equations (assignments): 6 * 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.000407/0.007686, allocations: 0.7435 MB / 0.9864 GB, free: 12.73 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001746/0.007861, allocations: 71.94 kB / 0.9865 GB, free: 12.66 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.007863, allocations: 0 / 0.9865 GB, free: 12.66 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.571e-05/0.007939, allocations: 47.91 kB / 0.9865 GB, free: 12.62 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.008217, allocations: 6.5 kB / 0.9865 GB, free: 12.61 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.009594, allocations: 1.462 MB / 0.988 GB, free: 11.07 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.164e-05/0.009646, allocations: 75.58 kB / 0.988 GB, free: 10.97 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.071e-05/0.009686, allocations: 7.75 kB / 0.988 GB, free: 10.96 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.004e-05/0.009746, allocations: 28.48 kB / 0.9881 GB, free: 10.94 MB / 0.948 GB Notification: Performance of SimCode: time 6.91e-07/0.009747, allocations: 0 / 0.9881 GB, free: 10.94 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01711/0.02686, allocations: 3.081 MB / 0.9911 GB, free: 8.004 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.831/6.858, allocations: 12.17 kB / 0.9911 GB, free: 7.996 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Round_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Round.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.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.895454860292375]