Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009116/0.009115, allocations: 100.8 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 195.8 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.56/2.56, allocations: 437 MB / 0.7106 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 71.89 kB / 0.8692 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6617/0.6631, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002508/0.6657, allocations: 0.9557 MB / 1.018 GB, free: 1.797 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.667, allocations: 0.8857 MB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.6672, allocations: 4 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 7.27e-05/0.6673, allocations: 7.875 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.566e-05/0.6674, allocations: 4 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002194/0.6676, allocations: 59.94 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001985/0.6678, allocations: 127.7 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001971/0.668, allocations: 53.47 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.944e-05/0.6681, allocations: 51.72 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.863e-05/0.6682, allocations: 59.69 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.6682, allocations: 11.98 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.176e-05/0.6682, allocations: 8 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.422e-05/0.6683, allocations: 27.91 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.648e-05/0.6684, allocations: 51.67 kB / 1.02 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.6685, allocations: 99.78 kB / 1.02 GB, free: 344 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.6685, allocations: 0 / 1.02 GB, free: 344 kB / 0.7637 GB Notification: Performance of FrontEnd: time 7.21e-07/0.6685, allocations: 4 kB / 1.02 GB, free: 340 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.6685, allocations: 0 / 1.02 GB, free: 340 kB / 0.7637 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.0007176/0.6692, allocations: 441 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.6693, allocations: 12.03 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.446e-05/0.6694, allocations: 20.75 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.6696, allocations: 212 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.6697, allocations: 12.38 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.6697, allocations: 16.38 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00034/0.67, allocations: 138.2 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.6701, allocations: 192 / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/0.6701, allocations: 15.92 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.6701, allocations: 7.938 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003092/0.6704, allocations: 127.9 kB / 1.021 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008538/0.6713, allocations: 496 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.6715, allocations: 90.47 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.6716, allocations: 40.84 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.731e-05/0.6717, allocations: 8 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.6717, allocations: 30.56 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.6717, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0004774/0.6722, allocations: 157.6 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.6723, allocations: 59.39 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.6725, allocations: 199.4 kB / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.6725, allocations: 29.7 kB / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.416e-05/0.6726, allocations: 111.9 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.6726, allocations: 27.56 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.014e-05/0.6727, allocations: 41.61 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.6728, allocations: 318.8 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.6729, allocations: 43.97 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.6731, allocations: 43.97 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002258/0.6733, allocations: 88.83 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.6733, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003074/0.6736, allocations: 146.7 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.6736, allocations: 8 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.6736, allocations: 0 / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.6737, allocations: 0 / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.6738, allocations: 28.36 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.6739, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.674, allocations: 31.67 kB / 1.023 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.674, allocations: 4 kB / 1.023 GB, free: 13.16 MB / 0.7794 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 9.544e-05/0.6741, allocations: 125.7 kB / 1.023 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.674e-05/0.6741, allocations: 11.91 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003535/0.6745, allocations: 143 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.6745, allocations: 0 / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.6745, allocations: 0 / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.6745, allocations: 3.938 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005889/0.6751, allocations: 464.8 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.6751, allocations: 96 / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.6753, allocations: 23.98 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.6753, allocations: 0 / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.6753, allocations: 4 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.6753, allocations: 3.938 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.6753, allocations: 8 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003416/0.6756, allocations: 245.8 kB / 1.024 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.741e-05/0.6757, allocations: 92.92 kB / 1.024 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.6758, allocations: 3.984 kB / 1.024 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.6759, allocations: 19.98 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.155e-05/0.676, allocations: 11.92 kB / 1.024 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.676, allocations: 4 kB / 1.024 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001188/0.6761, allocations: 141.2 kB / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6761, allocations: 0 / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002547/0.6764, allocations: 27.94 kB / 1.024 GB, free: 11.73 MB / 0.7794 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.0001596/0.6765, allocations: 107.2 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003106/0.6769, allocations: 99.88 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6769, allocations: 0 / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.677, allocations: 51.91 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.6774, allocations: 16.19 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005436/0.6779, allocations: 321 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.6783, allocations: 0.7087 MB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.479e-05/0.6783, allocations: 19.42 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of SimCode: time 3.9e-07/0.6783, allocations: 0 / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of Templates: time 0.003437/0.6818, allocations: 1.542 MB / 1.027 GB, free: 8.809 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches