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.0009865/0.0009865, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001057/0.001057, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.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.319/2.319, allocations: 390.3 MB / 0.6653 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003327/0.0003328, allocations: 12 kB / 0.8145 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6249/0.6252, allocations: 142.3 MB / 0.9535 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Line): time 0.0009989/0.6263, allocations: 0.565 MB / 0.9541 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001057/0.6274, allocations: 0.884 MB / 0.9549 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.6275, allocations: 6.188 kB / 0.955 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.753e-05/0.6275, allocations: 3.938 kB / 0.955 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.419e-05/0.6276, allocations: 4.969 kB / 0.955 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001883/0.6278, allocations: 48.91 kB / 0.955 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000175/0.628, allocations: 83.47 kB / 0.9551 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.6282, allocations: 44 kB / 0.9551 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.243e-05/0.6283, allocations: 36.53 kB / 0.9552 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.948e-05/0.6284, allocations: 46.61 kB / 0.9552 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.6284, allocations: 9.375 kB / 0.9552 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.006e-05/0.6284, allocations: 4.031 kB / 0.9552 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.409e-05/0.6284, allocations: 20.77 kB / 0.9552 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.115e-05/0.6285, allocations: 43.23 kB / 0.9553 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.6286, allocations: 102.1 kB / 0.9554 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.6286, allocations: 0 / 0.9554 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.974e-06/0.6286, allocations: 1.25 kB / 0.9554 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.6286, allocations: 0 / 0.9554 GB, free: 6.629 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.0005461/0.6292, allocations: 426.4 kB / 0.9558 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.6292, allocations: 8.469 kB / 0.9558 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.073e-05/0.6293, allocations: 28.41 kB / 0.9558 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.6295, allocations: 204.2 kB / 0.956 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.6295, allocations: 9.094 kB / 0.956 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.6296, allocations: 12.91 kB / 0.956 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003417/0.6299, allocations: 157.1 kB / 0.9562 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.6299, allocations: 0 / 0.9562 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.63, allocations: 6.281 kB / 0.9562 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.63, allocations: 3.469 kB / 0.9562 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003397/0.6303, allocations: 145.2 kB / 0.9563 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007974/0.6311, allocations: 0.4929 MB / 0.9568 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.6313, allocations: 88.75 kB / 0.9569 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.6314, allocations: 2.344 kB / 0.9569 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.6314, allocations: 35.89 kB / 0.9569 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 3.316e-06/0.6314, allocations: 0 / 0.9569 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0004898/0.6319, allocations: 184.9 kB / 0.9571 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.6319, allocations: 55.34 kB / 0.9572 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.6321, allocations: 194.9 kB / 0.9574 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.6321, allocations: 29.7 kB / 0.9574 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.094e-05/0.6322, allocations: 114.2 kB / 0.9575 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.6322, allocations: 36.12 kB / 0.9575 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-06/0.6322, allocations: 4 kB / 0.9575 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.896e-05/0.6323, allocations: 323 kB / 0.9578 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.6324, allocations: 42.17 kB / 0.9579 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.6325, allocations: 50.94 kB / 0.9579 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.6327, allocations: 53.53 kB / 0.958 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.6327, allocations: 0 / 0.958 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002902/0.633, allocations: 157.2 kB / 0.9581 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.633, allocations: 5.625 kB / 0.9581 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.633, allocations: 3.938 kB / 0.9581 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.633, allocations: 1.375 kB / 0.9581 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.6332, allocations: 33.91 kB / 0.9582 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.6332, allocations: 5.328 kB / 0.9582 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.35e-05/0.6333, allocations: 20.09 kB / 0.9582 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.517e-06/0.6333, allocations: 2.688 kB / 0.9582 GB, free: 4.25 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.79e-05/0.6334, allocations: 119.2 kB / 0.9583 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.6335, allocations: 19.39 kB / 0.9583 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000341/0.6338, allocations: 155.8 kB / 0.9585 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.6338, allocations: 2.344 kB / 0.9585 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.6338, allocations: 0 / 0.9585 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.6338, allocations: 3.953 kB / 0.9585 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000493/0.6343, allocations: 463.4 kB / 0.9589 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.6343, allocations: 0.9688 kB / 0.9589 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.6345, allocations: 23.45 kB / 0.9589 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.6345, allocations: 1.094 kB / 0.9589 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.6345, allocations: 6.141 kB / 0.959 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.6345, allocations: 1.188 kB / 0.959 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.6345, allocations: 5.125 kB / 0.959 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003371/0.6348, allocations: 289.4 kB / 0.9592 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.6349, allocations: 97.69 kB / 0.9593 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/0.6349, allocations: 2.344 kB / 0.9593 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.6351, allocations: 25.55 kB / 0.9594 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.6351, allocations: 12.55 kB / 0.9594 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.6352, allocations: 7.969 kB / 0.9594 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.533e-05/0.6353, allocations: 141.4 kB / 0.9595 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6353, allocations: 0 / 0.9595 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002411/0.6355, allocations: 22.66 kB / 0.9595 GB, free: 3.066 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001402/0.6356, allocations: 111 kB / 0.9596 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003103/0.636, allocations: 105.2 kB / 0.9597 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.636, allocations: 3.938 kB / 0.9597 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.6361, allocations: 57.56 kB / 0.9598 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.6364, allocations: 17.67 kB / 0.9598 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004378/0.6368, allocations: 273.5 kB / 0.9601 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.637, allocations: 0.7107 MB / 0.9608 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.686e-05/0.637, allocations: 17.33 kB / 0.9608 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.329e-05/0.6371, allocations: 14.31 kB / 0.9608 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.6371, allocations: 1.375 kB / 0.9608 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of Templates: time 0.003353/0.6404, allocations: 0.9826 MB / 0.9618 GB, free: 1.438 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","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches