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.0008011/0.0008011, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007933/0.0007933, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.9137/0.9137, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.777/1.777, allocations: 377.9 MB / 0.6228 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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.866e-06/2.866e-06, allocations: 0 / 0.9823 GB, free: 2.027 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.715e-05/3.002e-05, allocations: 2.281 kB / 0.9823 GB, free: 2.023 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001317/0.001347, allocations: 0.7133 MB / 0.983 GB, free: 1.312 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008919/0.002239, allocations: 0.8237 MB / 0.9838 GB, free: 488 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.39e-05/0.002283, allocations: 0 / 0.9838 GB, free: 488 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.341e-05/0.002316, allocations: 7.875 kB / 0.9838 GB, free: 480 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.463e-05/0.002391, allocations: 3.984 kB / 0.9838 GB, free: 476 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 7.288e-05/0.002464, allocations: 11.98 kB / 0.9838 GB, free: 464 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.128e-05/0.002555, allocations: 55.78 kB / 0.9838 GB, free: 408 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.002672, allocations: 4 kB / 0.9838 GB, free: 404 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 9.153e-05/0.002764, allocations: 31.91 kB / 0.9839 GB, free: 372 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.745e-05/0.002811, allocations: 11.98 kB / 0.9839 GB, free: 360 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.434e-05/0.002836, allocations: 4 kB / 0.9839 GB, free: 356 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 7.043e-06/0.002843, allocations: 4 kB / 0.9839 GB, free: 352 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.00286, allocations: 7.938 kB / 0.9839 GB, free: 344 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.516e-05/0.002885, allocations: 11.98 kB / 0.9839 GB, free: 332 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.002992, allocations: 43.91 kB / 0.9839 GB, free: 288 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.002995, allocations: 0 / 0.9839 GB, free: 288 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.753e-06/0.002997, allocations: 3.938 kB / 0.984 GB, free: 284 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.003003, allocations: 4 kB / 0.984 GB, free: 280 kB / 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.0004756/0.003479, allocations: 286.2 kB / 0.9842 GB, free: 15.96 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.003526, allocations: 12.03 kB / 0.9842 GB, free: 15.95 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.00356, allocations: 4.891 kB / 0.9842 GB, free: 15.95 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.761e-05/0.003658, allocations: 105.8 kB / 0.9843 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.003672, allocations: 4.375 kB / 0.9843 GB, free: 15.81 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.003684, allocations: 4.375 kB / 0.9844 GB, free: 15.81 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.003882, allocations: 78.14 kB / 0.9844 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.003889, allocations: 192 / 0.9844 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.0039, allocations: 384 / 0.9844 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.003906, allocations: 4.375 kB / 0.9844 GB, free: 15.72 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.004053, allocations: 63.86 kB / 0.9845 GB, free: 15.66 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003098/0.004363, allocations: 208.6 kB / 0.9847 GB, free: 15.43 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.004482, allocations: 58.47 kB / 0.9847 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.341e-05/0.004566, allocations: 48.84 kB / 0.9848 GB, free: 15.31 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.004576, allocations: 0 / 0.9848 GB, free: 15.31 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.004596, allocations: 34.56 kB / 0.9848 GB, free: 15.27 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.004597, allocations: 0 / 0.9848 GB, free: 15.27 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0003087/0.004906, allocations: 133.5 kB / 0.985 GB, free: 15.13 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.004937, allocations: 51.41 kB / 0.985 GB, free: 15.07 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.469e-05/0.005002, allocations: 109.8 kB / 0.9851 GB, free: 14.95 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.938e-06/0.005012, allocations: 25.7 kB / 0.9851 GB, free: 14.92 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.828e-05/0.00505, allocations: 88.08 kB / 0.9852 GB, free: 14.83 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.005071, allocations: 19.83 kB / 0.9852 GB, free: 14.81 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/0.005099, allocations: 13.72 kB / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.554e-05/0.005185, allocations: 318.8 kB / 0.9856 GB, free: 14.47 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.653e-05/0.005261, allocations: 31.97 kB / 0.9856 GB, free: 14.44 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.558e-05/0.005327, allocations: 31.95 kB / 0.9856 GB, free: 14.41 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.00546, allocations: 64.8 kB / 0.9857 GB, free: 14.34 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.005462, allocations: 0 / 0.9857 GB, free: 14.34 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001667/0.005629, allocations: 101.6 kB / 0.9858 GB, free: 14.23 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.005645, allocations: 7.938 kB / 0.9858 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.00565, allocations: 0 / 0.9858 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.005664, allocations: 4 kB / 0.9858 GB, free: 14.22 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.419e-05/0.005758, allocations: 19.92 kB / 0.9858 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.005764, allocations: 3.938 kB / 0.9858 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.957e-05/0.005804, allocations: 15.98 kB / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.005811, allocations: 0 / 0.9858 GB, free: 14.18 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.634e-05/0.005877, allocations: 113.8 kB / 0.9859 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.519e-05/0.005892, allocations: 3.953 kB / 0.9859 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.145e-05/0.005914, allocations: 15.94 kB / 0.9859 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.005915, allocations: 0 / 0.9859 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.00592, allocations: 0 / 0.9859 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.005922, allocations: 0 / 0.9859 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.006022, allocations: 113.3 kB / 0.9861 GB, free: 13.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.006024, allocations: 0 / 0.9861 GB, free: 13.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.033e-05/0.006064, allocations: 19.98 kB / 0.9861 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.006066, allocations: 0 / 0.9861 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.006074, allocations: 4 kB / 0.9861 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.006076, allocations: 3.938 kB / 0.9861 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.006078, allocations: 3.984 kB / 0.9861 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.006281, allocations: 191.7 kB / 0.9863 GB, free: 13.67 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.887e-06/0.00629, allocations: 4 kB / 0.9863 GB, free: 13.66 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.006301, allocations: 4 kB / 0.9863 GB, free: 13.66 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.884e-05/0.00635, allocations: 15.92 kB / 0.9863 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.006388, allocations: 12.02 kB / 0.9863 GB, free: 13.63 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.00639, allocations: 3.938 kB / 0.9863 GB, free: 13.63 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.697e-05/0.006427, allocations: 91.58 kB / 0.9864 GB, free: 13.54 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006427, allocations: 0 / 0.9864 GB, free: 13.54 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001447/0.006572, allocations: 8 kB / 0.9864 GB, free: 13.53 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.0001081/0.00668, allocations: 91.78 kB / 0.9865 GB, free: 13.43 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001896/0.00687, allocations: 71.92 kB / 0.9866 GB, free: 13.36 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.006872, allocations: 0 / 0.9866 GB, free: 13.36 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.721e-05/0.006949, allocations: 35.91 kB / 0.9866 GB, free: 13.32 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.007196, allocations: 11.03 kB / 0.9866 GB, free: 13.32 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002896/0.007486, allocations: 150.4 kB / 0.9867 GB, free: 13.14 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.972e-05/0.007535, allocations: 63.34 kB / 0.9868 GB, free: 13.05 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.228e-05/0.007568, allocations: 12.5 kB / 0.9868 GB, free: 13.04 MB / 0.948 GB Notification: Performance of SimCode: time 5.11e-07/0.007568, allocations: 3.938 kB / 0.9868 GB, free: 13.04 MB / 0.948 GB Notification: Performance of Templates: time 0.001581/0.009149, allocations: 0.7602 MB / 0.9876 GB, free: 12.28 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 400] 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: 6.4806236512959]