Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.0008596/0.0008596, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009149/0.0009149, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8716/0.8716, 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.76/1.76, 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.CDL.Reals.Validation.Add,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.865e-06/2.865e-06, allocations: 0 / 0.981 GB, free: 2.512 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.591e-05, allocations: 4.953 kB / 0.981 GB, free: 2.508 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001581/0.001607, allocations: 0.695 MB / 0.9817 GB, free: 1.812 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009474/0.002554, allocations: 0.8276 MB / 0.9825 GB, free: 0.9727 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.865e-05/0.002593, allocations: 0 / 0.9825 GB, free: 0.9727 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.818e-05/0.002621, allocations: 3.938 kB / 0.9825 GB, free: 0.9688 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.976e-05/0.002681, allocations: 11.92 kB / 0.9825 GB, free: 0.957 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 6.332e-05/0.002744, allocations: 11.98 kB / 0.9825 GB, free: 0.9453 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.433e-05/0.002819, allocations: 43.86 kB / 0.9826 GB, free: 0.9023 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.00292, allocations: 7.984 kB / 0.9826 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.683e-05/0.002997, allocations: 31.86 kB / 0.9826 GB, free: 0.8633 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.503e-05/0.003032, allocations: 11.97 kB / 0.9826 GB, free: 0.8516 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.003051, allocations: 4 kB / 0.9826 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 6.402e-06/0.003057, allocations: 4 kB / 0.9826 GB, free: 0.8438 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.363e-05/0.003071, allocations: 4 kB / 0.9826 GB, free: 0.8398 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.468e-05/0.003096, allocations: 23.91 kB / 0.9827 GB, free: 0.8164 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0002992/0.003395, allocations: 39.88 kB / 0.9827 GB, free: 0.7773 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.003399, allocations: 4 kB / 0.9827 GB, free: 0.7734 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.094e-06/0.003401, allocations: 0 / 0.9827 GB, free: 0.7734 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.003406, allocations: 0 / 0.9827 GB, free: 0.7734 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003617/0.003768, allocations: 286.2 kB / 0.983 GB, free: 472 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.003806, allocations: 12.03 kB / 0.983 GB, free: 460 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.813e-05/0.003834, allocations: 34.75 kB / 0.983 GB, free: 416 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.983e-05/0.003854, allocations: 4.891 kB / 0.983 GB, free: 412 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.073e-05/0.003935, allocations: 109.8 kB / 0.9831 GB, free: 276 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.003944, allocations: 12.31 kB / 0.9831 GB, free: 264 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.492e-06/0.00395, allocations: 384 / 0.9831 GB, free: 264 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.004112, allocations: 70.16 kB / 0.9832 GB, free: 188 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.004121, allocations: 4.188 kB / 0.9832 GB, free: 184 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.004137, allocations: 384 / 0.9832 GB, free: 184 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.004143, allocations: 8.109 kB / 0.9832 GB, free: 176 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.004277, allocations: 63.94 kB / 0.9833 GB, free: 112 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002944/0.004571, allocations: 232 kB / 0.9835 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.0047, allocations: 58.48 kB / 0.9836 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.69e-05/0.004777, allocations: 40.91 kB / 0.9836 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.004788, allocations: 3.938 kB / 0.9836 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.004805, allocations: 30.56 kB / 0.9836 GB, free: 15.69 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.004806, allocations: 7.938 kB / 0.9836 GB, free: 15.68 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0002807/0.005087, allocations: 125.6 kB / 0.9838 GB, free: 15.55 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.005121, allocations: 55.41 kB / 0.9838 GB, free: 15.48 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.203e-05/0.005183, allocations: 109.8 kB / 0.9839 GB, free: 15.37 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.799e-06/0.005193, allocations: 25.7 kB / 0.9839 GB, free: 15.34 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.825e-05/0.005231, allocations: 88.12 kB / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.00525, allocations: 19.84 kB / 0.9841 GB, free: 15.23 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-05/0.005276, allocations: 13.72 kB / 0.9841 GB, free: 15.21 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.889e-05/0.005355, allocations: 318.8 kB / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.373e-05/0.005429, allocations: 31.97 kB / 0.9844 GB, free: 14.86 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.722e-05/0.005496, allocations: 36.12 kB / 0.9844 GB, free: 14.82 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.005626, allocations: 68.8 kB / 0.9845 GB, free: 14.75 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.005628, allocations: 0 / 0.9845 GB, free: 14.75 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001648/0.005793, allocations: 101.5 kB / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.005808, allocations: 4 kB / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.005813, allocations: 0 / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.005826, allocations: 0 / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.295e-05/0.005908, allocations: 23.92 kB / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.005914, allocations: 0 / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.644e-05/0.00595, allocations: 15.94 kB / 0.9846 GB, free: 14.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.005955, allocations: 0 / 0.9846 GB, free: 14.6 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 (3): * Single equations (assignments): 3 * 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.54e-05/0.006021, allocations: 109.8 kB / 0.9847 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.655e-05/0.006037, allocations: 11.92 kB / 0.9848 GB, free: 14.47 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.28e-05/0.00606, allocations: 4 kB / 0.9848 GB, free: 14.47 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.006063, allocations: 3.938 kB / 0.9848 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.006067, allocations: 0 / 0.9848 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.00607, allocations: 8 kB / 0.9848 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.006204, allocations: 132.8 kB / 0.9849 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.006205, allocations: 0 / 0.9849 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.317e-05/0.006259, allocations: 19.92 kB / 0.9849 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.006263, allocations: 3.984 kB / 0.9849 GB, free: 14.26 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.006273, allocations: 4 kB / 0.9849 GB, free: 14.26 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.006275, allocations: 0 / 0.9849 GB, free: 14.26 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.006277, allocations: 0 / 0.9849 GB, free: 14.26 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004774/0.006754, allocations: 199.4 kB / 0.9851 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-06/0.006763, allocations: 7.938 kB / 0.9851 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.006775, allocations: 0 / 0.9851 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.771e-05/0.006823, allocations: 11.97 kB / 0.9851 GB, free: 14.03 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.518e-05/0.006858, allocations: 4 kB / 0.9851 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.006862, allocations: 0 / 0.9851 GB, free: 14.02 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.18e-05/0.006903, allocations: 95.56 kB / 0.9852 GB, free: 13.93 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006903, allocations: 0 / 0.9852 GB, free: 13.93 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001518/0.007055, allocations: 11.88 kB / 0.9852 GB, free: 13.92 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 (3): * Single equations (assignments): 3 * 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.0004039/0.007459, allocations: 0.7358 MB / 0.986 GB, free: 13.15 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001967/0.007656, allocations: 67.86 kB / 0.986 GB, free: 13.09 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.007658, allocations: 4 kB / 0.986 GB, free: 13.08 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.764e-05/0.007726, allocations: 31.97 kB / 0.9861 GB, free: 13.05 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.007988, allocations: 10.97 kB / 0.9861 GB, free: 13.04 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003627/0.00835, allocations: 146.9 kB / 0.9862 GB, free: 12.86 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.229e-05/0.008393, allocations: 67.28 kB / 0.9863 GB, free: 12.77 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.632e-05/0.008419, allocations: 11.98 kB / 0.9863 GB, free: 12.76 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.806e-05/0.008457, allocations: 16.5 kB / 0.9863 GB, free: 12.75 MB / 0.948 GB Notification: Performance of SimCode: time 6.01e-07/0.008458, allocations: 0 / 0.9863 GB, free: 12.75 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0144/0.02285, allocations: 2.317 MB / 0.9886 GB, free: 10.57 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.741/6.764, allocations: 2.234 kB / 0.9886 GB, free: 10.57 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Add_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Add.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.881852285005152]