Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.465/1.465, allocations: 249.5 MB / 257 MB, free: 6.844 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 172.9 kB / 316.3 MB, free: 3.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.5/1.5, allocations: 205.3 MB / 0.5671 GB, free: 15.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008915/0.0008915, allocations: 88.84 kB / 0.6714 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.378e-05/2.38e-05, allocations: 8 kB / 0.7814 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.185, allocations: 106.3 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.655/0.84, allocations: 131.6 MB / 1.014 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.8403, allocations: 68.47 kB / 1.014 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001764/0.842, allocations: 0.6738 MB / 1.015 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.946e-06/0.8421, allocations: 0.75 kB / 1.015 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.8421, allocations: 3.938 kB / 1.015 GB, free: 5.422 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000358/0.8425, allocations: 337.9 kB / 1.015 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.8425, allocations: 8.031 kB / 1.015 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.476e-05/0.8425, allocations: 4 kB / 1.015 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.8427, allocations: 163 kB / 1.015 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.8427, allocations: 0 / 1.015 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.8427, allocations: 0 / 1.015 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.382e-05/0.8428, allocations: 19.3 kB / 1.015 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.401e-05/0.8429, allocations: 33.2 kB / 1.015 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.8429, allocations: 0 / 1.015 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.8429, allocations: 3.562 kB / 1.015 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.8429, allocations: 4 kB / 1.015 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003225/0.8433, allocations: 232.3 kB / 1.015 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.726e-05/0.8433, allocations: 30.19 kB / 1.015 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.237e-05/0.8434, allocations: 4.859 kB / 1.015 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.8434, allocations: 4.062 kB / 1.015 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.8434, allocations: 34.56 kB / 1.015 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.8435, allocations: 0 / 1.015 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001573/0.8436, allocations: 41.23 kB / 1.015 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.8436, allocations: 54.14 kB / 1.015 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.571e-05/0.8437, allocations: 100.5 kB / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.8437, allocations: 25.7 kB / 1.016 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.09e-05/0.8438, allocations: 80.14 kB / 1.016 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.8438, allocations: 11.34 kB / 1.016 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.8438, allocations: 4.031 kB / 1.016 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.8439, allocations: 314.8 kB / 1.016 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.499e-05/0.844, allocations: 7.562 kB / 1.016 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.879e-06/0.844, allocations: 0 / 1.016 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.605e-05/0.844, allocations: 4 kB / 1.016 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.844, allocations: 0 / 1.016 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.771e-05/0.8441, allocations: 45.31 kB / 1.016 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.8441, allocations: 4 kB / 1.016 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.8441, allocations: 96 / 1.016 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.8441, allocations: 4 kB / 1.016 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.8442, allocations: 11.98 kB / 1.016 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.8443, allocations: 0 / 1.016 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.172e-05/0.8443, allocations: 8 kB / 1.016 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.8443, allocations: 0 / 1.016 GB, free: 3.707 MB / 0.6355 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.446e-05/0.8444, allocations: 116.6 kB / 1.016 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.8444, allocations: 4 kB / 1.016 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/0.8446, allocations: 52.95 kB / 1.016 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.8446, allocations: 0 / 1.016 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.8446, allocations: 0 / 1.016 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.8446, allocations: 0 / 1.016 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.8447, allocations: 137.8 kB / 1.016 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.8447, allocations: 3.953 kB / 1.016 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.487e-05/0.8448, allocations: 11.98 kB / 1.016 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.8448, allocations: 192 / 1.016 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.8448, allocations: 4.031 kB / 1.016 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.8448, allocations: 7.938 kB / 1.016 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.8448, allocations: 0 / 1.016 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.526e-05/0.8449, allocations: 142.8 kB / 1.017 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.319e-05/0.845, allocations: 85.06 kB / 1.017 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.845, allocations: 0 / 1.017 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.032e-05/0.8451, allocations: 8.031 kB / 1.017 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.8451, allocations: 11.42 kB / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.8451, allocations: 0.875 kB / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.265e-05/0.8452, allocations: 75.28 kB / 1.017 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8452, allocations: 4 kB / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001926/0.8454, allocations: 0 / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001294/0.8455, allocations: 99.25 kB / 1.017 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.52e-05/0.8456, allocations: 11.69 kB / 1.017 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.8456, allocations: 4.062 kB / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.041e-05/0.8456, allocations: 11.38 kB / 1.017 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/0.8458, allocations: 10.17 kB / 1.017 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000197/0.846, allocations: 63.5 kB / 1.017 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.8462, allocations: 0.6768 MB / 1.018 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.095e-05/0.8463, allocations: 0 / 1.018 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.8463, allocations: 11.44 kB / 1.018 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of SimCode: time 2.61e-07/0.8463, allocations: 4.062 kB / 1.018 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of Templates: time 0.001957/0.8483, allocations: 319.1 kB / 1.018 GB, free: 1.75 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Sin.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches