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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001358/0.001358, allocations: 104 kB / 16.35 MB, free: 5.824 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.00137/0.001371, allocations: 191.2 kB / 17.29 MB, free: 5.48 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.441/1.441, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.445/2.445, allocations: 390.3 MB / 0.6655 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 71.33 kB / 0.814 GB, free: 32.75 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.324, allocations: 140.4 MB / 0.9511 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Line): time 0.002296/0.3263, allocations: 0.9027 MB / 0.952 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.3275, allocations: 0.8857 MB / 0.9529 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.043e-05/0.3276, allocations: 4 kB / 0.9529 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.777e-05/0.3277, allocations: 11.86 kB / 0.9529 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.352e-05/0.3278, allocations: 11.81 kB / 0.9529 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002947/0.3281, allocations: 63.91 kB / 0.953 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002285/0.3283, allocations: 143.7 kB / 0.9531 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000213/0.3285, allocations: 53.47 kB / 0.9532 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.548e-05/0.3286, allocations: 55.77 kB / 0.9532 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.611e-05/0.3287, allocations: 63.69 kB / 0.9533 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.786e-05/0.3288, allocations: 12 kB / 0.9533 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.408e-05/0.3288, allocations: 16 kB / 0.9533 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.833e-05/0.3288, allocations: 27.86 kB / 0.9533 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.159e-05/0.3289, allocations: 59.66 kB / 0.9534 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.3291, allocations: 143.5 kB / 0.9535 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3291, allocations: 0 / 0.9535 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3291, allocations: 0 / 0.9535 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.3291, allocations: 4 kB / 0.9535 GB, free: 5.547 MB / 0.7325 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.0007071/0.3298, allocations: 435 kB / 0.9539 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.3299, allocations: 12.02 kB / 0.9539 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.478e-05/0.33, allocations: 24.75 kB / 0.954 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.3302, allocations: 208.1 kB / 0.9542 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.3303, allocations: 20.36 kB / 0.9542 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.3303, allocations: 12.38 kB / 0.9542 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00032/0.3306, allocations: 150.6 kB / 0.9543 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.3306, allocations: 192 / 0.9543 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.3307, allocations: 11.94 kB / 0.9544 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.3307, allocations: 11.88 kB / 0.9544 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002952/0.331, allocations: 127.9 kB / 0.9545 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008134/0.3318, allocations: 492 kB / 0.955 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.332, allocations: 90.41 kB / 0.955 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.3321, allocations: 48.83 kB / 0.9551 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.3322, allocations: 7.984 kB / 0.9551 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.3322, allocations: 34.56 kB / 0.9551 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.3322, allocations: 0 / 0.9551 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0004618/0.3327, allocations: 161.6 kB / 0.9553 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.3327, allocations: 51.41 kB / 0.9553 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.3329, allocations: 187.5 kB / 0.9555 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.333, allocations: 33.7 kB / 0.9555 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.347e-05/0.3331, allocations: 115.9 kB / 0.9557 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.3331, allocations: 35.55 kB / 0.9557 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.114e-05/0.3332, allocations: 21.72 kB / 0.9557 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.3333, allocations: 326.8 kB / 0.956 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.3334, allocations: 39.97 kB / 0.9561 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.3335, allocations: 42.97 kB / 0.9561 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.3338, allocations: 100.8 kB / 0.9562 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3338, allocations: 0 / 0.9562 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002935/0.3341, allocations: 145.4 kB / 0.9563 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.3341, allocations: 4 kB / 0.9563 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3341, allocations: 0 / 0.9563 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.3341, allocations: 3.984 kB / 0.9563 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.3343, allocations: 35.92 kB / 0.9564 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.3343, allocations: 4 kB / 0.9564 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.991e-05/0.3344, allocations: 11.84 kB / 0.9564 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.3344, allocations: 4 kB / 0.9564 GB, free: 2.367 MB / 0.7325 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.0001096/0.3345, allocations: 129.3 kB / 0.9565 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.744e-05/0.3346, allocations: 15.81 kB / 0.9565 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003354/0.3349, allocations: 143.3 kB / 0.9567 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3349, allocations: 4 kB / 0.9567 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.335, allocations: 4 kB / 0.9567 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.335, allocations: 3.938 kB / 0.9567 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000573/0.3355, allocations: 452.8 kB / 0.9571 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3356, allocations: 0 / 0.9571 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.926e-05/0.3357, allocations: 24.08 kB / 0.9571 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.3357, allocations: 4 kB / 0.9571 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.3357, allocations: 0 / 0.9571 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/0.3357, allocations: 4 kB / 0.9571 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.3357, allocations: 80 / 0.9571 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003085/0.336, allocations: 257.8 kB / 0.9574 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.525e-05/0.3361, allocations: 92.94 kB / 0.9575 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.3361, allocations: 4 kB / 0.9575 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.3362, allocations: 15.98 kB / 0.9575 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.3363, allocations: 15.86 kB / 0.9575 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.3363, allocations: 8 kB / 0.9575 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001177/0.3364, allocations: 153.1 kB / 0.9577 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3364, allocations: 0 / 0.9577 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002404/0.3367, allocations: 23.91 kB / 0.9577 GB, free: 0.918 MB / 0.7325 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.0001665/0.3369, allocations: 99.25 kB / 0.9578 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002979/0.3372, allocations: 95.88 kB / 0.9579 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.3372, allocations: 4 kB / 0.9579 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.3373, allocations: 51.92 kB / 0.9579 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.3376, allocations: 13.02 kB / 0.9579 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000491/0.3381, allocations: 249.6 kB / 0.9582 GB, free: 384 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.3384, allocations: 0.7162 MB / 0.9589 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.892e-05/0.3385, allocations: 13.08 kB / 0.9589 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.432e-05/0.3385, allocations: 15.44 kB / 0.9589 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of SimCode: time 4.11e-07/0.3385, allocations: 4.188 kB / 0.9589 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of Templates: time 0.003841/0.3424, allocations: 1.15 MB / 0.96 GB, free: 14.45 MB / 0.7481 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 -s cvode -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