Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.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.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_9_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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.406/2.406, 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.001183/0.001183, allocations: 181.1 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.576/1.576, allocations: 223.2 MB / 0.7948 GB, free: 17.93 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.0009016/0.0009015, allocations: 93.78 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004275/0.0004272, allocations: 14.3 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3462, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1881/0.5344, allocations: 148.9 MB / 1.368 GB, free: 13.24 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/0.5347, allocations: 67.95 kB / 1.368 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001866/0.5366, allocations: 0.6692 MB / 1.369 GB, free: 12.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.454e-06/0.5366, allocations: 0 / 1.369 GB, free: 12.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.5366, allocations: 4 kB / 1.369 GB, free: 12.5 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.0004063/0.537, allocations: 343.2 kB / 1.369 GB, free: 12.12 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.5371, allocations: 12.03 kB / 1.369 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.192e-05/0.5371, allocations: 0 / 1.369 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.5373, allocations: 171 kB / 1.369 GB, free: 11.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.5373, allocations: 4 kB / 1.369 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.5373, allocations: 4 kB / 1.369 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.5375, allocations: 60.36 kB / 1.37 GB, free: 11.83 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.5375, allocations: 3.984 kB / 1.37 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.5376, allocations: 0 / 1.37 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.5376, allocations: 0 / 1.37 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001952/0.5378, allocations: 43.97 kB / 1.37 GB, free: 11.78 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/0.5381, allocations: 244.9 kB / 1.37 GB, free: 11.49 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.5383, allocations: 46.66 kB / 1.37 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.5383, allocations: 4 kB / 1.37 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.5383, allocations: 34.5 kB / 1.37 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.5383, allocations: 0 / 1.37 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0003679/0.5387, allocations: 97.64 kB / 1.37 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.5388, allocations: 51.41 kB / 1.37 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.73e-05/0.5388, allocations: 93 kB / 1.37 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.5389, allocations: 25.7 kB / 1.37 GB, free: 11.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.995e-05/0.5389, allocations: 92.03 kB / 1.37 GB, free: 11 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.309e-05/0.5389, allocations: 0 / 1.37 GB, free: 11 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-06/0.5389, allocations: 0 / 1.37 GB, free: 11 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.5391, allocations: 318.9 kB / 1.371 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.369e-05/0.5392, allocations: 23.98 kB / 1.371 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.804e-05/0.5393, allocations: 27.91 kB / 1.371 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.065e-05/0.5394, allocations: 24.05 kB / 1.371 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5394, allocations: 0 / 1.371 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002117/0.5396, allocations: 73.58 kB / 1.371 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.5396, allocations: 4.031 kB / 1.371 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.5396, allocations: 11.98 kB / 1.371 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.5397, allocations: 0 / 1.371 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.5398, allocations: 11.94 kB / 1.371 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.5398, allocations: 0 / 1.371 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.022e-05/0.5398, allocations: 7.984 kB / 1.371 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.5399, 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 8.393e-05/0.5399, allocations: 117.8 kB / 1.371 GB, free: 10.37 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.138e-05/0.54, allocations: 0 / 1.371 GB, free: 10.37 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002608/0.5402, allocations: 80.72 kB / 1.371 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.5403, allocations: 3.984 kB / 1.371 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.5403, allocations: 4 kB / 1.371 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.5403, allocations: 4.031 kB / 1.371 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.5405, allocations: 165.5 kB / 1.371 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.5405, allocations: 0 / 1.371 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.557e-05/0.5405, allocations: 11.98 kB / 1.371 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.5406, allocations: 0 / 1.371 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.5406, allocations: 4 kB / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.5406, allocations: 0 / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5406, allocations: 0 / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.5408, allocations: 183.4 kB / 1.371 GB, free: 9.848 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.038e-05/0.5409, allocations: 81.2 kB / 1.371 GB, free: 9.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.5409, allocations: 0 / 1.371 GB, free: 9.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.134e-05/0.541, allocations: 16.02 kB / 1.371 GB, free: 9.734 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/0.541, allocations: 3.984 kB / 1.371 GB, free: 9.73 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.541, allocations: 0 / 1.371 GB, free: 9.73 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.775e-05/0.5411, allocations: 87.27 kB / 1.371 GB, free: 9.645 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5411, allocations: 0 / 1.371 GB, free: 9.645 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001991/0.5413, allocations: 4 kB / 1.371 GB, free: 9.641 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.0001616/0.5415, allocations: 103 kB / 1.372 GB, free: 9.531 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002242/0.5417, allocations: 43.97 kB / 1.372 GB, free: 9.488 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5417, allocations: 0 / 1.372 GB, free: 9.488 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.325e-05/0.5418, allocations: 31.91 kB / 1.372 GB, free: 9.457 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.542, allocations: 12.08 kB / 1.372 GB, free: 9.445 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002498/0.5423, allocations: 108.6 kB / 1.372 GB, free: 9.305 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.5425, allocations: 0.6809 MB / 1.372 GB, free: 8.598 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.844e-05/0.5426, allocations: 0 / 1.372 GB, free: 8.598 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.596e-05/0.5426, allocations: 7.438 kB / 1.372 GB, free: 8.59 MB / 0.8698 GB Notification: Performance of SimCode: time 2.3e-07/0.5426, allocations: 0 / 1.372 GB, free: 8.59 MB / 0.8698 GB Notification: Performance of Templates: time 0.002474/0.5451, allocations: 349.5 kB / 1.373 GB, free: 8.254 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Sin.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches