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.001096/0.001096, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.007889/0.007889, allocations: 172 kB / 16.26 MB, free: 6.613 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.56/1.56, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.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.568/2.568, allocations: 390.9 MB / 0.6663 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004092/0.0004092, allocations: 12.19 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.95/0.9505, allocations: 142.4 MB / 0.9551 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Line): time 0.00146/0.952, allocations: 0.5977 MB / 0.9557 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001567/0.9536, allocations: 0.8761 MB / 0.9565 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/0.9538, allocations: 7 kB / 0.9565 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.606e-05/0.9538, allocations: 7.922 kB / 0.9565 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.9539, allocations: 9.281 kB / 0.9565 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.9542, allocations: 55.61 kB / 0.9566 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002363/0.9544, allocations: 129.1 kB / 0.9567 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002541/0.9547, allocations: 52.44 kB / 0.9568 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.257e-05/0.9548, allocations: 42.45 kB / 0.9568 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.375e-05/0.9549, allocations: 44.95 kB / 0.9568 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.745e-05/0.9549, allocations: 9.219 kB / 0.9569 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.006e-05/0.9549, allocations: 4.469 kB / 0.9569 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.074e-05/0.955, allocations: 20.23 kB / 0.9569 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.552e-05/0.955, allocations: 70.62 kB / 0.9569 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.9552, allocations: 134.2 kB / 0.9571 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.9552, allocations: 1.188 kB / 0.9571 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9552, allocations: 0 / 0.9571 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.839e-06/0.9552, allocations: 0 / 0.9571 GB, free: 6.277 MB / 0.7169 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.0005979/0.9558, allocations: 428.1 kB / 0.9575 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.9559, allocations: 8.938 kB / 0.9575 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.32e-05/0.9559, allocations: 17.72 kB / 0.9575 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.9561, allocations: 204.7 kB / 0.9577 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.9562, allocations: 10.19 kB / 0.9577 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.9562, allocations: 13 kB / 0.9577 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003479/0.9566, allocations: 157.1 kB / 0.9579 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.9566, allocations: 192 / 0.9579 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/0.9566, allocations: 9.438 kB / 0.9579 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.443e-06/0.9566, allocations: 2.594 kB / 0.9579 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003255/0.957, allocations: 139.5 kB / 0.958 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007503/0.9577, allocations: 0.5011 MB / 0.9585 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.9579, allocations: 88.98 kB / 0.9586 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.9581, allocations: 59.27 kB / 0.9586 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.9581, allocations: 1.5 kB / 0.9586 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.9581, allocations: 39.88 kB / 0.9587 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.9581, allocations: 0 / 0.9587 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0005204/0.9587, allocations: 173.2 kB / 0.9589 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.9587, allocations: 52.84 kB / 0.9589 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.9589, allocations: 191.1 kB / 0.9591 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.959, allocations: 31.08 kB / 0.9591 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.455e-05/0.959, allocations: 105.5 kB / 0.9592 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/0.9591, allocations: 39.58 kB / 0.9593 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/0.9591, allocations: 13.84 kB / 0.9593 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.192e-05/0.9592, allocations: 329.6 kB / 0.9596 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.9593, allocations: 47.48 kB / 0.9596 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.9594, allocations: 43.47 kB / 0.9597 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002506/0.9597, allocations: 113.1 kB / 0.9598 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.9597, allocations: 0 / 0.9598 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003243/0.96, allocations: 161.4 kB / 0.9599 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.9601, allocations: 5.5 kB / 0.9599 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.9601, allocations: 4 kB / 0.9599 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.9601, allocations: 1.375 kB / 0.9599 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.9603, allocations: 25.98 kB / 0.96 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.9603, allocations: 1.375 kB / 0.96 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.9604, allocations: 27.92 kB / 0.96 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.9604, allocations: 10.69 kB / 0.96 GB, free: 3.828 MB / 0.7169 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 8.773e-05/0.9605, allocations: 131.3 kB / 0.9601 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.9606, allocations: 10.78 kB / 0.9601 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003416/0.9609, allocations: 148.8 kB / 0.9603 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.9609, allocations: 1.844 kB / 0.9603 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.9609, allocations: 1.375 kB / 0.9603 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.9609, allocations: 7.984 kB / 0.9603 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005647/0.9615, allocations: 456.2 kB / 0.9607 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.9615, allocations: 4.094 kB / 0.9607 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.9616, allocations: 30.98 kB / 0.9608 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/0.9617, allocations: 2.094 kB / 0.9608 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.9617, allocations: 9.266 kB / 0.9608 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.9617, allocations: 1.812 kB / 0.9608 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.9617, allocations: 1 kB / 0.9608 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003615/0.9621, allocations: 260 kB / 0.961 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.927e-05/0.9621, allocations: 89.92 kB / 0.9611 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.9621, allocations: 5.969 kB / 0.9611 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.9623, allocations: 22.08 kB / 0.9611 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.9623, allocations: 12.2 kB / 0.9611 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.9624, allocations: 7.5 kB / 0.9612 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001054/0.9625, allocations: 147.9 kB / 0.9613 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9625, allocations: 3.938 kB / 0.9613 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002505/0.9627, allocations: 27.41 kB / 0.9613 GB, free: 2.688 MB / 0.7169 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.0001619/0.9629, allocations: 103.1 kB / 0.9614 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003383/0.9632, allocations: 105.4 kB / 0.9615 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.9632, allocations: 0 / 0.9615 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.9634, allocations: 60.75 kB / 0.9616 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.9638, allocations: 18.17 kB / 0.9616 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000507/0.9643, allocations: 282.9 kB / 0.9619 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.9645, allocations: 0.7131 MB / 0.9626 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.631e-05/0.9646, allocations: 13.67 kB / 0.9626 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.439e-05/0.9646, allocations: 19.06 kB / 0.9626 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of SimCode: time 3.4e-07/0.9646, allocations: 0 / 0.9626 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of Templates: time 0.003915/0.9685, allocations: 1.032 MB / 0.9636 GB, free: 1.039 MB / 0.7169 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/jenkins/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