Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.43/2.43, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001088/0.001088, allocations: 180.3 kB / 498.1 MB, free: 5.734 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.474/1.474, allocations: 223.2 MB / 0.7948 GB, free: 17.85 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.0009614/0.0009614, allocations: 96.33 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000379/0.000379, allocations: 11.47 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3372, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2138/0.5511, allocations: 148.8 MB / 1.368 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/0.5514, allocations: 67.91 kB / 1.368 GB, free: 13.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001697/0.5531, allocations: 0.6732 MB / 1.369 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.894e-06/0.5531, allocations: 0 / 1.369 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.5531, allocations: 0 / 1.369 GB, free: 12.53 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.0003591/0.5535, allocations: 347.2 kB / 1.369 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.5535, allocations: 8.031 kB / 1.369 GB, free: 12.13 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.81e-05/0.5535, allocations: 4 kB / 1.369 GB, free: 12.13 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.5537, allocations: 163 kB / 1.369 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.5537, allocations: 0 / 1.369 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.5537, allocations: 4 kB / 1.369 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.5539, allocations: 56.41 kB / 1.369 GB, free: 11.87 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.5539, allocations: 4 kB / 1.369 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.5539, allocations: 0 / 1.369 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.5539, allocations: 7.938 kB / 1.369 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000175/0.5541, allocations: 43.95 kB / 1.37 GB, free: 11.81 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004447/0.5546, allocations: 264.9 kB / 1.37 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.5547, allocations: 46.53 kB / 1.37 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.5547, allocations: 0 / 1.37 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.5548, allocations: 42.62 kB / 1.37 GB, free: 11.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.5548, allocations: 3.938 kB / 1.37 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0003728/0.5552, allocations: 93.73 kB / 1.37 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.5552, allocations: 51.41 kB / 1.37 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.899e-05/0.5553, allocations: 93 kB / 1.37 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.5553, allocations: 25.7 kB / 1.37 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.04e-05/0.5554, allocations: 92.03 kB / 1.37 GB, free: 11.01 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.561e-05/0.5554, allocations: 3.984 kB / 1.37 GB, free: 11.01 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-06/0.5554, allocations: 4 kB / 1.37 GB, free: 11 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.5556, allocations: 314.8 kB / 1.371 GB, free: 10.69 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.323e-05/0.5557, allocations: 24.02 kB / 1.371 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.609e-05/0.5558, allocations: 23.97 kB / 1.371 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.326e-05/0.5559, allocations: 24.05 kB / 1.371 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5559, allocations: 3.938 kB / 1.371 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002003/0.5561, allocations: 77.58 kB / 1.371 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.5561, allocations: 4 kB / 1.371 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.5561, allocations: 7.922 kB / 1.371 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.5561, allocations: 8.031 kB / 1.371 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.936e-05/0.5562, allocations: 8 kB / 1.371 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.5563, allocations: 0 / 1.371 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.449e-05/0.5563, allocations: 7.984 kB / 1.371 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.5563, allocations: 4 kB / 1.371 GB, free: 10.49 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 9.732e-05/0.5564, allocations: 109.8 kB / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.037e-05/0.5565, allocations: 0 / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002551/0.5567, allocations: 88.91 kB / 1.371 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.5567, allocations: 7.969 kB / 1.371 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5568, allocations: 0 / 1.371 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.5568, allocations: 0 / 1.371 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.5569, allocations: 165.6 kB / 1.371 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-06/0.557, allocations: 4.031 kB / 1.371 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.071e-05/0.557, allocations: 11.98 kB / 1.371 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.557, allocations: 0 / 1.371 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.557, allocations: 0 / 1.371 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.5571, allocations: 0 / 1.371 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5571, allocations: 0 / 1.371 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/0.5573, allocations: 183.4 kB / 1.371 GB, free: 9.852 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.689e-05/0.5574, allocations: 81.02 kB / 1.371 GB, free: 9.754 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.5574, allocations: 0 / 1.371 GB, free: 9.754 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.767e-05/0.5575, allocations: 7.984 kB / 1.371 GB, free: 9.746 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.5575, allocations: 8.031 kB / 1.371 GB, free: 9.738 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-06/0.5576, allocations: 3.938 kB / 1.371 GB, free: 9.734 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.117e-05/0.5576, allocations: 83.27 kB / 1.371 GB, free: 9.652 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5576, allocations: 0 / 1.371 GB, free: 9.652 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001916/0.5578, allocations: 8 kB / 1.371 GB, free: 9.645 MB / 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.0001656/0.558, allocations: 99.03 kB / 1.372 GB, free: 9.539 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002136/0.5582, allocations: 47.97 kB / 1.372 GB, free: 9.492 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.5582, allocations: 0 / 1.372 GB, free: 9.492 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.375e-05/0.5583, allocations: 23.97 kB / 1.372 GB, free: 9.469 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.5585, allocations: 11.95 kB / 1.372 GB, free: 9.457 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002801/0.5588, allocations: 116.7 kB / 1.372 GB, free: 9.309 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.5591, allocations: 0.6809 MB / 1.372 GB, free: 8.602 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.671e-05/0.5592, allocations: 0 / 1.372 GB, free: 8.602 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.739e-05/0.5592, allocations: 7.438 kB / 1.372 GB, free: 8.594 MB / 0.8698 GB Notification: Performance of SimCode: time 2.4e-07/0.5592, allocations: 0 / 1.372 GB, free: 8.594 MB / 0.8698 GB Notification: Performance of Templates: time 0.002242/0.5614, allocations: 358.2 kB / 1.373 GB, free: 8.246 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Asin.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches