Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Asin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcSin.u|arcSin.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Asin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcSin.u|arcSin.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.365/2.365, allocations: 393.5 MB / 408.4 MB, free: 11.09 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 183.9 kB / 0.4902 GB, free: 2.309 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.618/1.618, allocations: 223.1 MB / 0.7992 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 92.31 kB / 0.9396 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003573, allocations: 10.59 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3041, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2175/0.5217, allocations: 149.6 MB / 1.375 GB, free: 4.047 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/0.5221, allocations: 75.94 kB / 1.375 GB, free: 3.973 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002451/0.5246, allocations: 0.6648 MB / 1.376 GB, free: 3.305 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.085e-06/0.5246, allocations: 0 / 1.376 GB, free: 3.305 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.5246, allocations: 4 kB / 1.376 GB, free: 3.301 MB / 0.8698 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.0004821/0.5251, allocations: 327.4 kB / 1.376 GB, free: 2.934 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.5252, allocations: 8.828 kB / 1.376 GB, free: 2.926 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/0.5252, allocations: 11.84 kB / 1.376 GB, free: 2.914 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.5254, allocations: 167 kB / 1.377 GB, free: 2.711 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.5254, allocations: 7.938 kB / 1.377 GB, free: 2.703 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.5254, allocations: 0 / 1.377 GB, free: 2.703 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/0.5257, allocations: 62.7 kB / 1.377 GB, free: 2.637 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.5257, allocations: 0 / 1.377 GB, free: 2.637 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.5257, allocations: 0 / 1.377 GB, free: 2.637 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.5257, allocations: 0 / 1.377 GB, free: 2.637 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002712/0.526, allocations: 51.94 kB / 1.377 GB, free: 2.586 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005444/0.5266, allocations: 260.9 kB / 1.377 GB, free: 2.281 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.5268, allocations: 46.5 kB / 1.377 GB, free: 2.227 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.5268, allocations: 3.984 kB / 1.377 GB, free: 2.223 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.5268, allocations: 34.62 kB / 1.377 GB, free: 2.18 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.5268, allocations: 0 / 1.377 GB, free: 2.18 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0005087/0.5274, allocations: 93.66 kB / 1.377 GB, free: 2.082 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.5274, allocations: 55.39 kB / 1.377 GB, free: 2.016 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.231e-05/0.5275, allocations: 92.94 kB / 1.377 GB, free: 1.918 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.5276, allocations: 25.7 kB / 1.377 GB, free: 1.887 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.966e-05/0.5276, allocations: 88.27 kB / 1.377 GB, free: 1.797 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.5277, allocations: 7.906 kB / 1.377 GB, free: 1.789 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/0.5277, allocations: 0 / 1.377 GB, free: 1.789 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.5279, allocations: 318.8 kB / 1.378 GB, free: 1.469 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.528, allocations: 23.98 kB / 1.378 GB, free: 1.445 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.5281, allocations: 23.92 kB / 1.378 GB, free: 1.422 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.5283, allocations: 23.98 kB / 1.378 GB, free: 1.398 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.5283, allocations: 0 / 1.378 GB, free: 1.398 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000305/0.5286, allocations: 81.72 kB / 1.378 GB, free: 1.312 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.5287, allocations: 4 kB / 1.378 GB, free: 1.309 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.5287, allocations: 0 / 1.378 GB, free: 1.309 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.5287, allocations: 0 / 1.378 GB, free: 1.309 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.5288, allocations: 11.98 kB / 1.378 GB, free: 1.297 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.5289, allocations: 4 kB / 1.378 GB, free: 1.293 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.396e-05/0.529, allocations: 11.92 kB / 1.378 GB, free: 1.281 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.529, allocations: 4.031 kB / 1.378 GB, free: 1.277 MB / 0.8698 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 (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 0.0001017/0.5291, allocations: 117.8 kB / 1.378 GB, free: 1.152 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.435e-05/0.5292, allocations: 3.906 kB / 1.378 GB, free: 1.148 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003409/0.5295, allocations: 84.72 kB / 1.378 GB, free: 1.062 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.5295, allocations: 0 / 1.378 GB, free: 1.062 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.5295, allocations: 0 / 1.378 GB, free: 1.062 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.5296, allocations: 0 / 1.378 GB, free: 1.062 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.5298, allocations: 165.6 kB / 1.378 GB, free: 0.8516 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5298, allocations: 0 / 1.378 GB, free: 0.8516 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.822e-05/0.5299, allocations: 12 kB / 1.378 GB, free: 0.8398 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.5299, allocations: 0 / 1.378 GB, free: 0.8398 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.53, allocations: 3.984 kB / 1.378 GB, free: 0.8359 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.53, allocations: 0 / 1.378 GB, free: 0.8359 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.53, allocations: 4.031 kB / 1.378 GB, free: 0.832 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000385/0.5304, allocations: 175.4 kB / 1.378 GB, free: 0.6445 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.162e-05/0.5305, allocations: 81.11 kB / 1.378 GB, free: 0.5469 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.5305, allocations: 4.031 kB / 1.378 GB, free: 0.543 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.5306, allocations: 4 kB / 1.378 GB, free: 0.5391 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.856e-05/0.5307, allocations: 7.984 kB / 1.378 GB, free: 0.5312 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.5307, allocations: 0 / 1.378 GB, free: 0.5312 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.15e-05/0.5308, allocations: 83.28 kB / 1.379 GB, free: 460 kB / 0.8698 GB Notification: Performance of sort global known variables: time 2e-07/0.5308, allocations: 0 / 1.379 GB, free: 460 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003838/0.5312, allocations: 4 kB / 1.379 GB, free: 456 kB / 0.8698 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 () * Number of clocked 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.0001694/0.5314, allocations: 99.25 kB / 1.379 GB, free: 348 kB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003268/0.5317, allocations: 51.89 kB / 1.379 GB, free: 296 kB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5317, allocations: 0 / 1.379 GB, free: 296 kB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.5319, allocations: 28.05 kB / 1.379 GB, free: 268 kB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.5322, allocations: 3.953 kB / 1.379 GB, free: 264 kB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003965/0.5326, allocations: 112.6 kB / 1.379 GB, free: 120 kB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.533, allocations: 0.6809 MB / 1.379 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.521e-05/0.533, allocations: 12 kB / 1.379 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.275e-05/0.5331, allocations: 7.438 kB / 1.379 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of SimCode: time 4.81e-07/0.5331, allocations: 0 / 1.379 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of Templates: time 0.002873/0.536, allocations: 341.7 kB / 1.38 GB, free: 15.06 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_Asin.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches