Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001454/0.001454, allocations: 103 kB / 16.45 MB, free: 6.5 MB / 14.72 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.001477/0.001477, allocations: 212.9 kB / 19.43 MB, free: 3.656 MB / 14.72 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.634/1.634, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.477/3.477, allocations: 0.4899 GB / 0.7915 GB, free: 33.26 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 72.88 kB / 1.149 GB, free: 26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4251/0.4272, allocations: 176.1 MB / 1.321 GB, free: 2.762 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002627/0.4298, allocations: 0.9108 MB / 1.322 GB, free: 1.852 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001971/0.4318, allocations: 0.9289 MB / 1.323 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000245/0.4321, allocations: 0 / 1.323 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 8.448e-05/0.4321, allocations: 15.8 kB / 1.323 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001673/0.4323, allocations: 11.88 kB / 1.323 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003905/0.4327, allocations: 63.91 kB / 1.323 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004176/0.4331, allocations: 135.7 kB / 1.323 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002719/0.4334, allocations: 49.45 kB / 1.323 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001565/0.4335, allocations: 47.8 kB / 1.323 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.4337, allocations: 67.69 kB / 1.323 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.321e-05/0.4337, allocations: 12 kB / 1.323 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.064e-05/0.4337, allocations: 16 kB / 1.323 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.405e-05/0.4338, allocations: 31.91 kB / 1.324 GB, free: 472 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.275e-05/0.4339, allocations: 59.66 kB / 1.324 GB, free: 412 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003007/0.4342, allocations: 151.2 kB / 1.324 GB, free: 260 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.4342, allocations: 0 / 1.324 GB, free: 260 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4342, allocations: 0 / 1.324 GB, free: 260 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.273e-05/0.4342, allocations: 0 / 1.324 GB, free: 260 kB / 1.014 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.001029/0.4352, allocations: 442.9 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.426e-05/0.4353, allocations: 15.98 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.784e-05/0.4354, allocations: 16.84 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004476/0.4358, allocations: 219.3 kB / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.4359, allocations: 8.375 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.034e-05/0.4359, allocations: 12.38 kB / 1.324 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004412/0.4363, allocations: 150.2 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.4363, allocations: 192 / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/0.4364, allocations: 11.94 kB / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.4364, allocations: 4 kB / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003678/0.4367, allocations: 123.9 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.4379, allocations: 0.4884 MB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/0.4381, allocations: 82.47 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.4382, allocations: 40.84 kB / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.4383, allocations: 3.984 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.4383, allocations: 30.56 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.4383, allocations: 4 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0005378/0.4388, allocations: 165.6 kB / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.4389, allocations: 55.41 kB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/0.4391, allocations: 191.5 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.4392, allocations: 25.7 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.976e-05/0.4392, allocations: 120 kB / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.4393, allocations: 39.69 kB / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/0.4393, allocations: 25.72 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.4395, allocations: 326.8 kB / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.4396, allocations: 35.97 kB / 1.326 GB, free: 13.44 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.4398, allocations: 43.97 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002648/0.44, allocations: 104.8 kB / 1.326 GB, free: 13.29 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.44, allocations: 0 / 1.326 GB, free: 13.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003358/0.4404, allocations: 145.4 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.4404, allocations: 4 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.4404, allocations: 0 / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.4404, allocations: 0 / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.4406, allocations: 31.97 kB / 1.327 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.4406, allocations: 4 kB / 1.327 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.4407, allocations: 15.89 kB / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.4407, allocations: 4 kB / 1.327 GB, free: 13.08 MB / 1.029 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.000111/0.4408, allocations: 122.3 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.176e-05/0.4409, allocations: 19.89 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003651/0.4412, allocations: 135 kB / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.4412, allocations: 0 / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4412, allocations: 0 / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4412, allocations: 4 kB / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006642/0.4419, allocations: 464.8 kB / 1.327 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4419, allocations: 0 / 1.327 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.442, allocations: 20.45 kB / 1.327 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.442, allocations: 4 kB / 1.327 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.442, allocations: 96 / 1.327 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.442, allocations: 8 kB / 1.327 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.442, allocations: 3.938 kB / 1.327 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003737/0.4424, allocations: 245.8 kB / 1.328 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.104e-05/0.4425, allocations: 104.9 kB / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.4425, allocations: 4 kB / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.4427, allocations: 15.98 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.605e-05/0.4427, allocations: 15.91 kB / 1.328 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.4427, allocations: 4 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001407/0.4429, allocations: 149.2 kB / 1.328 GB, free: 11.66 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4429, allocations: 0 / 1.328 GB, free: 11.66 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002591/0.4431, allocations: 16 kB / 1.328 GB, free: 11.64 MB / 1.029 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.0001794/0.4433, allocations: 111.2 kB / 1.328 GB, free: 11.53 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003365/0.4437, allocations: 95.27 kB / 1.328 GB, free: 11.44 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4437, allocations: 0 / 1.328 GB, free: 11.44 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.4438, allocations: 43.91 kB / 1.328 GB, free: 11.39 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.4441, allocations: 28.11 kB / 1.328 GB, free: 11.37 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005753/0.4447, allocations: 253.5 kB / 1.328 GB, free: 11.09 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.4451, allocations: 0.7122 MB / 1.329 GB, free: 10.34 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.213e-05/0.4451, allocations: 17.06 kB / 1.329 GB, free: 10.33 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.444e-05/0.4452, allocations: 19.44 kB / 1.329 GB, free: 10.31 MB / 1.029 GB Notification: Performance of SimCode: time 2.7e-07/0.4452, allocations: 0 / 1.329 GB, free: 10.31 MB / 1.029 GB Notification: Performance of Templates: time 0.004508/0.4497, allocations: 1.172 MB / 1.33 GB, free: 9.141 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.79317109938711]