Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.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.Sources.Validation.Sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.462/1.462, allocations: 249.5 MB / 257 MB, free: 6.875 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.001089/0.001089, allocations: 176.8 kB / 316.3 MB, free: 3.254 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.733/1.733, allocations: 205.3 MB / 0.5671 GB, free: 15.91 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.0008823/0.0008823, allocations: 87.25 kB / 0.6714 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.765e-05/1.766e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2321, allocations: 106.3 MB / 0.8853 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7728/1.005, allocations: 131.6 MB / 1.014 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/1.005, allocations: 75.27 kB / 1.014 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001909/1.007, allocations: 0.6813 MB / 1.014 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.054e-06/1.007, allocations: 0 / 1.014 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.074e-06/1.007, allocations: 0 / 1.014 GB, free: 5.473 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003494/1.008, allocations: 322 kB / 1.015 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.729e-05/1.008, allocations: 12.03 kB / 1.015 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/1.008, allocations: 0 / 1.015 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/1.008, allocations: 171.8 kB / 1.015 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/1.008, allocations: 4 kB / 1.015 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.876e-06/1.008, allocations: 0 / 1.015 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.1e-05/1.008, allocations: 0 / 1.015 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.479e-05/1.008, allocations: 36.25 kB / 1.015 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/1.008, allocations: 4 kB / 1.015 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/1.008, allocations: 0 / 1.015 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/1.008, allocations: 0 / 1.015 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001644/1.008, allocations: 140.8 kB / 1.015 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.227e-05/1.008, allocations: 21.48 kB / 1.015 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.363e-05/1.008, allocations: 8.797 kB / 1.015 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/1.008, allocations: 0 / 1.015 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/1.008, allocations: 38.62 kB / 1.015 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/1.008, allocations: 0 / 1.015 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001299/1.008, allocations: 32.27 kB / 1.015 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/1.009, allocations: 58.12 kB / 1.015 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.092e-05/1.009, allocations: 91.75 kB / 1.015 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/1.009, allocations: 25.7 kB / 1.015 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.48e-05/1.009, allocations: 87.45 kB / 1.016 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/1.009, allocations: 3.906 kB / 1.016 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-06/1.009, allocations: 4.031 kB / 1.016 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001392/1.009, allocations: 310.8 kB / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.404e-05/1.009, allocations: 7.438 kB / 1.016 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.498e-06/1.009, allocations: 3.984 kB / 1.016 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.873e-05/1.009, allocations: 4 kB / 1.016 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/1.009, allocations: 3.938 kB / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.898e-05/1.009, allocations: 37.22 kB / 1.016 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/1.009, allocations: 8 kB / 1.016 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/1.009, allocations: 0.8438 kB / 1.016 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/1.009, allocations: 4 kB / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.451e-05/1.009, allocations: 11.97 kB / 1.016 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/1.009, allocations: 0 / 1.016 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.948e-05/1.009, allocations: 4 kB / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/1.009, allocations: 0 / 1.016 GB, free: 3.883 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 (1): * Single equations (assignments): 1 * 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 8.476e-05/1.009, allocations: 101 kB / 1.016 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.287e-06/1.009, allocations: 3.953 kB / 1.016 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.866e-05/1.009, allocations: 15.64 kB / 1.016 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/1.009, allocations: 4 kB / 1.016 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/1.009, allocations: 0 / 1.016 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/1.009, allocations: 7.922 kB / 1.016 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.768e-05/1.01, allocations: 133.7 kB / 1.016 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/1.01, allocations: 0 / 1.016 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.512e-05/1.01, allocations: 4 kB / 1.016 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/1.01, allocations: 0 / 1.016 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/1.01, allocations: 0 / 1.016 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/1.01, allocations: 3.953 kB / 1.016 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.01, allocations: 0 / 1.016 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.822e-05/1.01, allocations: 72.53 kB / 1.016 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.165e-05/1.01, allocations: 77.11 kB / 1.016 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/1.01, allocations: 3.125 kB / 1.016 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.926e-05/1.01, allocations: 4 kB / 1.016 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/1.01, allocations: 7.938 kB / 1.016 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-06/1.01, allocations: 0 / 1.016 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.844e-05/1.01, allocations: 86.94 kB / 1.016 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/1.01, allocations: 0 / 1.016 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001956/1.01, allocations: 4 kB / 1.016 GB, free: 3.293 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 (1): * Single equations (assignments): 1 * 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.0001473/1.01, allocations: 99.25 kB / 1.016 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.169e-05/1.01, allocations: 7.688 kB / 1.016 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/1.01, allocations: 0 / 1.016 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.632e-05/1.01, allocations: 7.938 kB / 1.017 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000105/1.01, allocations: 3.984 kB / 1.017 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001872/1.011, allocations: 54.64 kB / 1.017 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/1.011, allocations: 0.6807 MB / 1.017 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.001e-05/1.011, allocations: 0 / 1.017 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.36e-05/1.011, allocations: 7.438 kB / 1.017 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of SimCode: time 2.304e-06/1.011, allocations: 0 / 1.017 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of Templates: time 0.001974/1.013, allocations: 241.6 kB / 1.017 GB, free: 2.16 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches