Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.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.00262/0.00262, allocations: 85.48 kB / 19.44 MB, free: 348 kB / 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.002659/0.002659, allocations: 177.6 kB / 22.76 MB, free: 1.664 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 1.601/1.601, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.443/3.443, allocations: 429.5 MB / 0.6729 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 1.203 kB / 0.8775 GB, free: 6.59 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.463e-05/3.68e-05, allocations: 4.422 kB / 0.8775 GB, free: 6.586 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002155/0.002192, allocations: 0.8754 MB / 0.8784 GB, free: 5.742 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001406/0.003599, allocations: 0.9133 MB / 0.8793 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.119e-05/0.00369, allocations: 7.938 kB / 0.8793 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.875e-05/0.003729, allocations: 10.81 kB / 0.8793 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.589e-05/0.003824, allocations: 11.81 kB / 0.8793 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.004056, allocations: 67.83 kB / 0.8794 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.004323, allocations: 139.7 kB / 0.8795 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.004475, allocations: 37.66 kB / 0.8795 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.004611, allocations: 79.8 kB / 0.8796 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.111e-05/0.004692, allocations: 39.88 kB / 0.8796 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.358e-05/0.004726, allocations: 13.59 kB / 0.8797 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 2.762e-05/0.004754, allocations: 16 kB / 0.8797 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.718e-05/0.004801, allocations: 39.83 kB / 0.8797 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.392e-05/0.004855, allocations: 31.91 kB / 0.8797 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.005069, allocations: 147.5 kB / 0.8799 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.005073, allocations: 0.625 kB / 0.8799 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.62e-07/0.005074, allocations: 1.656 kB / 0.8799 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.005079, allocations: 0 / 0.8799 GB, free: 4.188 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.000903/0.005982, allocations: 476.6 kB / 0.8803 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.006025, allocations: 8.031 kB / 0.8803 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.009e-05/0.006115, allocations: 32.78 kB / 0.8804 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.006408, allocations: 161.1 kB / 0.8805 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.006431, allocations: 12.36 kB / 0.8805 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.00646, allocations: 16.31 kB / 0.8806 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003871/0.006847, allocations: 219.3 kB / 0.8808 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.006858, allocations: 192 / 0.8808 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.851e-05/0.006876, allocations: 4.375 kB / 0.8808 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.006884, allocations: 4.375 kB / 0.8808 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003023/0.007186, allocations: 107.9 kB / 0.8809 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008292/0.008015, allocations: 455.3 kB / 0.8813 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.008239, allocations: 90.97 kB / 0.8814 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.008344, allocations: 47.59 kB / 0.8814 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.008374, allocations: 4 kB / 0.8814 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.008411, allocations: 41.38 kB / 0.8815 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.002e-06/0.008412, allocations: 0 / 0.8815 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.000418/0.00883, allocations: 138 kB / 0.8816 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.008875, allocations: 55.39 kB / 0.8817 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.009087, allocations: 216.4 kB / 0.8819 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.009109, allocations: 25.7 kB / 0.8819 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.009239, allocations: 174.5 kB / 0.8821 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.035e-05/0.009279, allocations: 39.69 kB / 0.8821 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.738e-05/0.009347, allocations: 35.38 kB / 0.8821 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002697/0.009616, allocations: 0.4923 MB / 0.8826 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.009722, allocations: 31.98 kB / 0.8827 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.786e-05/0.00982, allocations: 43.05 kB / 0.8827 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002175/0.01004, allocations: 83.66 kB / 0.8828 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.01004, allocations: 4 kB / 0.8828 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002892/0.01033, allocations: 129.6 kB / 0.8829 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.01034, allocations: 4 kB / 0.8829 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.01035, allocations: 3.938 kB / 0.8829 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.01037, allocations: 0 / 0.8829 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.01052, allocations: 27.92 kB / 0.8829 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.01052, allocations: 0 / 0.8829 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.669e-05/0.01061, allocations: 11.94 kB / 0.8829 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.01062, allocations: 4 kB / 0.883 GB, free: 0.8242 MB / 0.8386 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 (13): * Single equations (assignments): 13 * 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.000135/0.01076, allocations: 168.6 kB / 0.8831 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.87e-05/0.0108, allocations: 11.95 kB / 0.8831 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003459/0.01114, allocations: 138.3 kB / 0.8833 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.01115, allocations: 0 / 0.8833 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.01115, allocations: 0 / 0.8833 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.01115, allocations: 0 / 0.8833 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006347/0.01179, allocations: 452.2 kB / 0.8837 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.01179, allocations: 4 kB / 0.8837 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.0119, allocations: 24.03 kB / 0.8837 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.01191, allocations: 0 / 0.8837 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.01192, allocations: 8 kB / 0.8837 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01192, allocations: 0 / 0.8837 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01192, allocations: 3.938 kB / 0.8837 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003598/0.01228, allocations: 290.8 kB / 0.884 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.414e-05/0.01231, allocations: 11.95 kB / 0.884 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.01233, allocations: 4 kB / 0.884 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.01244, allocations: 7.984 kB / 0.884 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/0.0125, allocations: 19.92 kB / 0.884 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.01251, allocations: 4 kB / 0.884 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001179/0.01262, allocations: 155.2 kB / 0.8842 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01262, allocations: 0 / 0.8842 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002642/0.01289, allocations: 27.89 kB / 0.8842 GB, free: 15.41 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0001565/0.01305, allocations: 99.25 kB / 0.8843 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002882/0.01333, allocations: 95.58 kB / 0.8844 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.01334, allocations: 0 / 0.8844 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.01345, allocations: 51.61 kB / 0.8845 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.01375, allocations: 19.92 kB / 0.8845 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005872/0.01433, allocations: 266.3 kB / 0.8847 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.01444, allocations: 102.3 kB / 0.8848 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.792e-05/0.01449, allocations: 8.5 kB / 0.8848 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.853e-05/0.01454, allocations: 16.5 kB / 0.8849 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of SimCode: time 4.31e-07/0.01454, allocations: 0 / 0.8849 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of Templates: time 0.004367/0.01891, allocations: 0.9997 MB / 0.8858 GB, free: 13.71 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.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: 8.689891738002189]