Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 110.5 kB / 16.41 MB, free: 5.977 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.001923/0.001923, allocations: 188.3 kB / 17.34 MB, free: 5.586 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.41/1.41, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.281/2.281, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 63.91 kB / 0.9516 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9229/0.9244, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Line): time 0.002067/0.9265, allocations: 0.8947 MB / 1.09 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.9276, allocations: 0.8931 MB / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.101e-05/0.9277, allocations: 2.219 kB / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.388e-05/0.9278, allocations: 13.45 kB / 1.09 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.664e-05/0.9279, allocations: 10.59 kB / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002354/0.9281, allocations: 61.81 kB / 1.091 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002263/0.9284, allocations: 144.2 kB / 1.091 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001996/0.9286, allocations: 57.86 kB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.389e-05/0.9287, allocations: 51.69 kB / 1.091 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.9288, allocations: 67.31 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.269e-05/0.9288, allocations: 12.47 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.689e-05/0.9288, allocations: 13.44 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.399e-05/0.9289, allocations: 30.73 kB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.052e-05/0.929, allocations: 57.64 kB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.9292, allocations: 139.1 kB / 1.091 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.9292, allocations: 1.219 kB / 1.091 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.654e-06/0.9292, allocations: 3.938 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.9292, allocations: 4 kB / 1.091 GB, free: 3.922 MB / 0.8575 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.0006139/0.9298, allocations: 449.8 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.9299, allocations: 9.094 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.218e-05/0.9299, allocations: 16.78 kB / 1.092 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.9302, allocations: 204.9 kB / 1.092 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.9302, allocations: 17.66 kB / 1.092 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.224e-05/0.9302, allocations: 13.47 kB / 1.092 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003481/0.9306, allocations: 147 kB / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.9306, allocations: 192 / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.9306, allocations: 14.89 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.9306, allocations: 3.062 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003276/0.931, allocations: 120.9 kB / 1.092 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007689/0.9317, allocations: 0.4899 MB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.932, allocations: 90.02 kB / 1.093 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.9321, allocations: 45.53 kB / 1.093 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.9321, allocations: 10.53 kB / 1.093 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.9322, allocations: 32.92 kB / 1.093 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.9322, allocations: 0 / 1.093 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0005102/0.9327, allocations: 153.1 kB / 1.093 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.9327, allocations: 57.86 kB / 1.093 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.9329, allocations: 191.5 kB / 1.093 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.933, allocations: 31.27 kB / 1.093 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.189e-05/0.933, allocations: 113.9 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.933, allocations: 34.62 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.477e-05/0.9331, allocations: 28.16 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.013e-05/0.9332, allocations: 322.7 kB / 1.094 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.9333, allocations: 45.75 kB / 1.094 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.9335, allocations: 45.95 kB / 1.094 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002804/0.9337, allocations: 94.98 kB / 1.094 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.9338, allocations: 0 / 1.094 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003346/0.9341, allocations: 139.7 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.9341, allocations: 6.5 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.9341, allocations: 7.984 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.9342, allocations: 1 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.9343, allocations: 32.36 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.9344, allocations: 9.531 kB / 1.094 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.782e-05/0.9345, allocations: 28.41 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.9345, allocations: 3.406 kB / 1.094 GB, free: 1.711 MB / 0.8575 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 7.672e-05/0.9346, allocations: 123.5 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.969e-05/0.9346, allocations: 10.89 kB / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000387/0.935, allocations: 145 kB / 1.094 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.935, allocations: 1.562 kB / 1.094 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.935, allocations: 0.5156 kB / 1.094 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.935, allocations: 1.422 kB / 1.094 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005823/0.9356, allocations: 452.2 kB / 1.095 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.9356, allocations: 1.219 kB / 1.095 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.9358, allocations: 25.16 kB / 1.095 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.9358, allocations: 2.75 kB / 1.095 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.9358, allocations: 1.969 kB / 1.095 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.9358, allocations: 1.891 kB / 1.095 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.9358, allocations: 1.469 kB / 1.095 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003517/0.9362, allocations: 245.2 kB / 1.095 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.114e-05/0.9362, allocations: 96.34 kB / 1.095 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.9362, allocations: 2.5 kB / 1.095 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.9364, allocations: 20.58 kB / 1.095 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.566e-05/0.9365, allocations: 15.48 kB / 1.095 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.9365, allocations: 4.047 kB / 1.095 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001163/0.9366, allocations: 150.6 kB / 1.095 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.9366, allocations: 0.75 kB / 1.095 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002582/0.9369, allocations: 26.34 kB / 1.095 GB, free: 0.6953 MB / 0.8575 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.0001826/0.9371, allocations: 104.7 kB / 1.095 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003456/0.9374, allocations: 101.6 kB / 1.095 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.9374, allocations: 4 kB / 1.095 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.9376, allocations: 47.56 kB / 1.095 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.9379, allocations: 23.52 kB / 1.095 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005533/0.9385, allocations: 273.7 kB / 1.096 GB, free: 336 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.9388, allocations: 0.7108 MB / 1.096 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.045e-05/0.9388, allocations: 16.84 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.9388, allocations: 0 / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of Templates: time 0.004556/0.9434, allocations: 1.57 MB / 1.098 GB, free: 15.48 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches