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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001981/0.001981, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002306/0.002306, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.513/1.513, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.027/3.027, allocations: 437 MB / 0.7104 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002006, allocations: 63.91 kB / 0.8692 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8084/0.8104, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.003857/0.8144, allocations: 0.8846 MB / 1.018 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001898/0.8163, allocations: 0.8897 MB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001596/0.8165, allocations: 11.88 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 6.411e-05/0.8166, allocations: 7.875 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.8167, allocations: 11.81 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002865/0.817, allocations: 63.91 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0004091/0.8174, allocations: 135.8 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002555/0.8177, allocations: 63.28 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000243/0.818, allocations: 59.77 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.8181, allocations: 55.75 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 5.814e-05/0.8182, allocations: 12 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.962e-05/0.8182, allocations: 15.94 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 6.267e-05/0.8183, allocations: 31.86 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.8184, allocations: 59.66 kB / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002521/0.8187, allocations: 139.5 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.8187, allocations: 0 / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.973e-06/0.8187, allocations: 0 / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.236e-06/0.8187, allocations: 0 / 1.02 GB, free: 32 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.0009785/0.8197, allocations: 445 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 7.423e-05/0.8198, allocations: 12.03 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.223e-05/0.8199, allocations: 16.75 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/0.8202, allocations: 204.1 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.8202, allocations: 8.375 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.8203, allocations: 16.38 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004656/0.8208, allocations: 146.2 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.8208, allocations: 192 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.274e-05/0.8208, allocations: 15.92 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.8208, allocations: 4 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004365/0.8213, allocations: 123.9 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.8225, allocations: 500 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002767/0.8228, allocations: 90.47 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.823, allocations: 44.83 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.811e-05/0.823, allocations: 4 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001167/0.8232, allocations: 34.55 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.904e-06/0.8232, allocations: 7.938 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.000682/0.8239, allocations: 161.6 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/0.8239, allocations: 55.41 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000266/0.8242, allocations: 191.5 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.8243, allocations: 25.7 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.8244, allocations: 119.8 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.108e-05/0.8244, allocations: 35.56 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.828e-05/0.8245, allocations: 33.64 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.8247, allocations: 322.8 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.8249, allocations: 43.97 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.8251, allocations: 43.97 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003392/0.8254, allocations: 89.95 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.8254, allocations: 3.984 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004416/0.8259, allocations: 145.4 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.8259, allocations: 4 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.8259, allocations: 0 / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.826, allocations: 0 / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.8262, allocations: 31.92 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.8262, allocations: 3.984 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.8264, allocations: 19.84 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.8264, allocations: 4 kB / 1.023 GB, free: 12.86 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 0.0001503/0.8266, allocations: 121.8 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.002e-05/0.8266, allocations: 15.81 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005548/0.8272, allocations: 139 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.8272, allocations: 0 / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.8272, allocations: 0 / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.8272, allocations: 4 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008555/0.8281, allocations: 461.2 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.8281, allocations: 0 / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001462/0.8283, allocations: 19.98 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.8283, allocations: 0 / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.8283, allocations: 8.094 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.8283, allocations: 3.938 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.746e-06/0.8283, allocations: 7.938 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000422/0.8288, allocations: 245.8 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.097e-05/0.8288, allocations: 96.94 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.8289, allocations: 0 / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.829, allocations: 23.98 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.8291, allocations: 11.92 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.8291, allocations: 4 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001324/0.8292, allocations: 140.1 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8292, allocations: 3.938 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002568/0.8295, allocations: 27.91 kB / 1.024 GB, free: 11.43 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.0001691/0.8297, allocations: 107.2 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00036/0.83, allocations: 101.6 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.8301, allocations: 0 / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.8302, allocations: 48.09 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.8306, allocations: 25.64 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005814/0.8312, allocations: 241.6 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.8315, allocations: 0.7045 MB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.715e-05/0.8316, allocations: 21.06 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.413e-05/0.8317, allocations: 15.44 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of SimCode: time 3.51e-07/0.8317, allocations: 0 / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of Templates: time 0.004391/0.8361, allocations: 1.151 MB / 1.026 GB, free: 8.965 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=400 -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/jenkins/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