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.001771/0.001771, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002572/0.002572, allocations: 193.4 kB / 16.14 MB, free: 6.637 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.54/1.54, allocations: 222.9 MB / 239.8 MB, free: 4.582 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.797/2.797, allocations: 437 MB / 0.71 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002625/0.002625, allocations: 71.89 kB / 0.8686 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8726/0.8752, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002344/0.8776, allocations: 0.7277 MB / 1.017 GB, free: 2.07 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.879, allocations: 0.8079 MB / 1.018 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.221e-05/0.879, allocations: 0 / 1.018 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.305e-05/0.8791, allocations: 0 / 1.018 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.992e-05/0.8792, allocations: 3.984 kB / 1.018 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001781/0.8794, allocations: 11.94 kB / 1.018 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.993e-05/0.8795, allocations: 15.98 kB / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.8796, allocations: 12 kB / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.652e-05/0.8797, allocations: 11.88 kB / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.29e-05/0.8797, allocations: 15.97 kB / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.8797, allocations: 0 / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.015e-05/0.8798, allocations: 0 / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.44e-05/0.8798, allocations: 3.938 kB / 1.018 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.7e-05/0.8798, allocations: 11.98 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.606e-05/0.8799, allocations: 23.91 kB / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.8799, allocations: 0 / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.92e-07/0.88, allocations: 4 kB / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.88, allocations: 0 / 1.018 GB, free: 1.137 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.0006709/0.8806, allocations: 333.5 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.8807, allocations: 12.03 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.624e-05/0.8808, allocations: 0.9375 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.881, allocations: 168.3 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.881, allocations: 4.312 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.881, allocations: 384 / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.8812, allocations: 54.23 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.8812, allocations: 192 / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.8813, allocations: 3.938 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.8813, allocations: 3.984 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001787/0.8815, allocations: 39.89 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004297/0.8819, allocations: 241 kB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.8821, allocations: 50.42 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.533e-05/0.8822, allocations: 20.91 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.8822, allocations: 4 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.8822, allocations: 34.56 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/0.8822, allocations: 3.938 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0004538/0.8827, allocations: 85.64 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.379e-05/0.8827, allocations: 51.41 kB / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.8829, allocations: 97.84 kB / 1.019 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.8829, allocations: 25.7 kB / 1.019 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.883, allocations: 88.08 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.8831, allocations: 7.906 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.923e-05/0.8831, allocations: 13.84 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002238/0.8834, allocations: 314.8 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.466e-05/0.8835, allocations: 19.97 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.729e-05/0.8835, allocations: 15.98 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.8837, allocations: 40.77 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.8837, allocations: 4.062 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002126/0.884, allocations: 69.59 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.884, allocations: 4 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.884, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.884, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.8841, allocations: 11.98 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.8842, allocations: 0 / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.23e-05/0.8842, allocations: 7.906 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.8842, allocations: 4.031 kB / 1.02 GB, free: 15.11 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 0.0001579/0.8844, allocations: 117.8 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.8844, allocations: 4 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002699/0.8847, allocations: 68.72 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.8847, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-05/0.8847, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.8848, allocations: 4.031 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002628/0.885, allocations: 161.6 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.885, allocations: 3.984 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.751e-05/0.8851, allocations: 8 kB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.8851, allocations: 3.938 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.8851, allocations: 0 / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.8851, allocations: 3.938 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.8852, allocations: 3.984 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.8854, allocations: 171.4 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.054e-05/0.8855, allocations: 85.09 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.8855, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.499e-05/0.8856, allocations: 4 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.8857, allocations: 3.984 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.8857, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.209e-05/0.8857, allocations: 83.28 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8857, allocations: 4.031 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002132/0.8859, allocations: 4 kB / 1.021 GB, free: 14.29 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.0001797/0.8861, allocations: 99.78 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002205/0.8864, allocations: 35.95 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.8864, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.511e-05/0.8865, allocations: 27.98 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.8868, allocations: 3.938 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003621/0.8872, allocations: 112 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.8876, allocations: 0.677 MB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.407e-05/0.8876, allocations: 0 / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.066e-05/0.8877, allocations: 11.44 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of SimCode: time 2.415e-06/0.8877, allocations: 4.062 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of Templates: time 0.003245/0.8909, allocations: 366.7 kB / 1.022 GB, free: 12.91 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=400 -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