Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 194.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.728/2.728, allocations: 437 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.00138, allocations: 63.91 kB / 0.8692 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8467/0.8481, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002258/0.8504, allocations: 0.6725 MB / 1.018 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.8514, allocations: 0.8078 MB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.987e-05/0.8515, allocations: 0 / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.734e-05/0.8516, allocations: 0 / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.818e-05/0.8516, allocations: 3.938 kB / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001535/0.8518, allocations: 11.98 kB / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.231e-05/0.8519, allocations: 19.94 kB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.852, allocations: 7.984 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.416e-05/0.8521, allocations: 15.94 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.238e-05/0.8521, allocations: 11.98 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.8521, allocations: 0 / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.076e-05/0.8522, allocations: 4 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.983e-05/0.8522, allocations: 7.922 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.656e-05/0.8522, allocations: 4 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.139e-05/0.8523, allocations: 27.89 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.8523, allocations: 0 / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8523, allocations: 4 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.946e-06/0.8523, allocations: 0 / 1.019 GB, free: 0.8945 MB / 0.7637 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.000471/0.8528, allocations: 337.4 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.8529, allocations: 8.031 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.8529, allocations: 8.938 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.853, allocations: 164.3 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.8531, allocations: 384 / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.8531, allocations: 4.375 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.8533, allocations: 50.17 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.8533, allocations: 192 / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.8533, allocations: 7.938 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.8533, allocations: 8 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.8535, allocations: 31.95 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003891/0.8539, allocations: 241 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.854, allocations: 42.44 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.93e-05/0.8541, allocations: 28.89 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.8541, allocations: 0 / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.8542, allocations: 34.5 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 2.334e-06/0.8542, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003616/0.8546, allocations: 85.67 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.8546, allocations: 55.44 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.191e-05/0.8547, allocations: 97.86 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.8547, allocations: 29.7 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.74e-05/0.8548, allocations: 88.06 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.8548, allocations: 7.844 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.311e-05/0.8549, allocations: 17.72 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.855, allocations: 314.8 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.49e-05/0.8551, allocations: 19.98 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.524e-05/0.8552, allocations: 19.97 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.8553, allocations: 32.83 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.8553, allocations: 0 / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002073/0.8555, allocations: 73.66 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.8556, allocations: 4 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.8556, allocations: 0 / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.8556, allocations: 4.188 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.851e-05/0.8557, allocations: 11.92 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.8557, allocations: 0 / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.915e-05/0.8558, allocations: 8 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.8558, allocations: 3.984 kB / 1.021 GB, free: 14.87 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.137e-05/0.8559, allocations: 117.8 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.8559, allocations: 7.891 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/0.8562, allocations: 68.78 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.8562, allocations: 4 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.8562, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.8562, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.8564, allocations: 157.6 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.8564, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.908e-05/0.8564, allocations: 12.02 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.8564, allocations: 4 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.8565, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.8565, allocations: 3.938 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.8565, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.8567, allocations: 167.5 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.445e-05/0.8568, allocations: 81.14 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.8568, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.512e-05/0.8569, allocations: 11.92 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.8569, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-06/0.8569, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.216e-05/0.857, allocations: 83.27 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.857, allocations: 3.938 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002138/0.8572, allocations: 4 kB / 1.021 GB, free: 14.05 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001692/0.8574, allocations: 103.2 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002203/0.8576, allocations: 39.89 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.8576, allocations: 0 / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.369e-05/0.8577, allocations: 15.98 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.8581, allocations: 13.66 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003688/0.8584, allocations: 122.2 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.8587, allocations: 0.6768 MB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.273e-05/0.8587, allocations: 0 / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.652e-05/0.8588, allocations: 7.438 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.8588, allocations: 0 / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of Templates: time 0.002676/0.8615, allocations: 445.1 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches