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.001809/0.001809, allocations: 88.39 kB / 20.23 MB, free: 4.176 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.001543/0.001543, allocations: 161.3 kB / 23.54 MB, free: 0.8672 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.54/1.54, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 2.976/2.976, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] 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.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: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.8109 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.354e-05/3.539e-05, allocations: 4.078 kB / 0.8109 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.00219/0.002225, allocations: 0.8566 MB / 0.8117 GB, free: 1.219 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001381/0.003607, allocations: 0.9133 MB / 0.8126 GB, free: 300 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.713e-05/0.003684, allocations: 5.156 kB / 0.8126 GB, free: 296 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 6.285e-05/0.003747, allocations: 11.86 kB / 0.8126 GB, free: 284 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.003866, allocations: 11.81 kB / 0.8126 GB, free: 272 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.004091, allocations: 64.53 kB / 0.8127 GB, free: 208 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0002528/0.004343, allocations: 137.1 kB / 0.8128 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.0045, allocations: 45.64 kB / 0.8129 GB, free: 24 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002179/0.004717, allocations: 75.81 kB / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.968e-05/0.004797, allocations: 43.86 kB / 0.813 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.004828, allocations: 12.69 kB / 0.813 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 2.269e-05/0.004851, allocations: 12 kB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.635e-05/0.004897, allocations: 36.75 kB / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.918e-05/0.004956, allocations: 39.89 kB / 0.8131 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.005168, allocations: 148.1 kB / 0.8132 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.005172, allocations: 4 kB / 0.8132 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.72e-07/0.005173, allocations: 0.875 kB / 0.8132 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.587e-05/0.005189, allocations: 0 / 0.8132 GB, free: 15.66 MB / 0.7761 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.000701/0.00589, allocations: 364.5 kB / 0.8136 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.005927, allocations: 8.031 kB / 0.8136 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.365e-05/0.006011, allocations: 32.78 kB / 0.8136 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.006305, allocations: 162 kB / 0.8138 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.006323, allocations: 8.375 kB / 0.8138 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.177e-05/0.006355, allocations: 12.38 kB / 0.8138 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004293/0.006784, allocations: 233.1 kB / 0.814 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.006793, allocations: 192 / 0.814 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.006813, allocations: 4.375 kB / 0.814 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.006821, allocations: 4.938 kB / 0.814 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004371/0.007258, allocations: 129 kB / 0.8141 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007924/0.008051, allocations: 394.6 kB / 0.8145 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/0.008283, allocations: 86.47 kB / 0.8146 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.008415, allocations: 40.84 kB / 0.8146 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.008434, allocations: 4.469 kB / 0.8146 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.008476, allocations: 38.55 kB / 0.8147 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.008477, allocations: 0.7188 kB / 0.8147 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10): time 0.0005307/0.009008, allocations: 163 kB / 0.8148 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.009057, allocations: 55.41 kB / 0.8149 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.009233, allocations: 144.6 kB / 0.815 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.009263, allocations: 30.77 kB / 0.8151 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.009365, allocations: 119.9 kB / 0.8152 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.009404, allocations: 35.67 kB / 0.8152 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.69e-05/0.009471, allocations: 30.42 kB / 0.8152 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001969/0.009668, allocations: 322.8 kB / 0.8155 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.009809, allocations: 40.69 kB / 0.8156 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.009936, allocations: 41.25 kB / 0.8156 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002775/0.01021, allocations: 98.61 kB / 0.8157 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01022, allocations: 0 / 0.8157 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004414/0.01066, allocations: 141.6 kB / 0.8158 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.01067, allocations: 7.938 kB / 0.8159 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.01068, allocations: 0.8125 kB / 0.8159 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.0107, allocations: 4 kB / 0.8159 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.01087, allocations: 28.86 kB / 0.8159 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.01088, allocations: 3.984 kB / 0.8159 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.01099, allocations: 9.344 kB / 0.8159 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.01101, allocations: 4 kB / 0.8159 GB, free: 12.75 MB / 0.7761 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.0001155/0.01112, allocations: 114.8 kB / 0.816 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.695e-05/0.01117, allocations: 19.91 kB / 0.816 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000387/0.01156, allocations: 144.6 kB / 0.8162 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.01156, allocations: 3.984 kB / 0.8162 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.01157, allocations: 0 / 0.8162 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.01157, allocations: 0 / 0.8162 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006506/0.01222, allocations: 387.9 kB / 0.8165 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01222, allocations: 0 / 0.8165 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.01234, allocations: 23.98 kB / 0.8166 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.01234, allocations: 3.984 kB / 0.8166 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.01236, allocations: 4 kB / 0.8166 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.01236, allocations: 0 / 0.8166 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01236, allocations: 0 / 0.8166 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004043/0.01276, allocations: 247.1 kB / 0.8168 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.341e-05/0.01279, allocations: 16.52 kB / 0.8168 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.01281, allocations: 0 / 0.8168 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.01297, allocations: 17.86 kB / 0.8168 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.967e-05/0.01303, allocations: 15.92 kB / 0.8169 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.01304, allocations: 4 kB / 0.8169 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000103/0.01314, allocations: 111.2 kB / 0.817 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01314, allocations: 0.625 kB / 0.817 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000271/0.01341, allocations: 27.89 kB / 0.817 GB, free: 11.55 MB / 0.7761 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.00014/0.01355, allocations: 100.4 kB / 0.8171 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003688/0.01392, allocations: 95.38 kB / 0.8172 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.01392, allocations: 3.906 kB / 0.8172 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000171/0.01409, allocations: 43.92 kB / 0.8172 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.0144, allocations: 21.8 kB / 0.8173 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005506/0.01495, allocations: 256 kB / 0.8175 GB, free: 11 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.01507, allocations: 95.2 kB / 0.8176 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.766e-05/0.01512, allocations: 9.531 kB / 0.8176 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.099e-05/0.01517, allocations: 16.48 kB / 0.8176 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of SimCode: time 4.41e-07/0.01517, allocations: 1.094 kB / 0.8176 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of Templates: time 0.004404/0.01957, allocations: 0.9913 MB / 0.8186 GB, free: 9.902 MB / 0.7761 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: 8.208104721037671]