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.001563/0.001563, allocations: 108 kB / 15.61 MB, free: 152 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.001753/0.001753, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.555/1.555, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.841/2.841, allocations: 437 MB / 0.7104 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002677/0.002678, allocations: 67.89 kB / 0.8692 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8073/0.81, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002282/0.8123, allocations: 0.6591 MB / 1.018 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.8135, allocations: 0.8079 MB / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.521e-05/0.8135, allocations: 0 / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.114e-05/0.8136, allocations: 3.938 kB / 1.019 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.293e-05/0.8137, allocations: 7.938 kB / 1.019 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001456/0.8138, allocations: 7.984 kB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.233e-05/0.8139, allocations: 23.92 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.814, allocations: 4 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.1e-05/0.8141, allocations: 15.92 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.97e-05/0.8141, allocations: 12 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.8142, allocations: 0 / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.157e-05/0.8142, allocations: 4 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.977e-05/0.8142, allocations: 11.91 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.616e-05/0.8142, allocations: 8 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.105e-05/0.8143, allocations: 23.91 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.8143, allocations: 0 / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8143, allocations: 0 / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.8144, allocations: 0 / 1.019 GB, free: 0.9102 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.0005007/0.8149, allocations: 337.4 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.8149, allocations: 8.031 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.808e-05/0.815, allocations: 4.938 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.8151, allocations: 164.3 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.8151, allocations: 384 / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.8152, allocations: 12.34 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.8154, allocations: 50.19 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.8154, allocations: 192 / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.8154, allocations: 3.938 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.8154, allocations: 4 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000182/0.8156, allocations: 31.95 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003853/0.816, allocations: 248.9 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.8161, allocations: 42.53 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.518e-05/0.8162, allocations: 28.84 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.8163, allocations: 3.938 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.8163, allocations: 30.56 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.8163, allocations: 4 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003687/0.8167, allocations: 77.64 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.8167, allocations: 55.53 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.13e-05/0.8168, allocations: 105.8 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.8169, allocations: 25.7 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.382e-05/0.8169, allocations: 84.08 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.8169, allocations: 3.906 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-05/0.817, allocations: 17.72 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.8171, allocations: 318.8 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.996e-05/0.8173, allocations: 23.97 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.645e-05/0.8173, allocations: 15.98 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.8175, allocations: 32.83 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.8175, allocations: 4 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001992/0.8177, allocations: 65.66 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.8177, allocations: 12.03 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.8177, allocations: 0 / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.8178, allocations: 0 / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.222e-05/0.8179, allocations: 7.984 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.8179, allocations: 7.922 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.181e-05/0.8179, allocations: 11.98 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.818, allocations: 0 / 1.021 GB, free: 14.88 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 9.128e-05/0.818, allocations: 113.8 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.8181, allocations: 7.906 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002432/0.8183, allocations: 72.78 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.8183, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.8183, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.8184, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.8186, allocations: 165.6 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.8186, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.19e-05/0.8186, allocations: 8 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.8186, allocations: 4.031 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.8187, allocations: 7.984 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.8187, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.8187, allocations: 3.938 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002841/0.819, allocations: 163.4 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.85e-05/0.819, allocations: 81.11 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.819, allocations: 4.031 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.318e-05/0.8191, allocations: 7.938 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.614e-05/0.8192, allocations: 8.172 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.8192, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.622e-05/0.8192, allocations: 83.27 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8192, allocations: 0 / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002123/0.8195, allocations: 4 kB / 1.021 GB, free: 14.06 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.0001568/0.8196, allocations: 105.4 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002318/0.8199, allocations: 43.89 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.8199, allocations: 0 / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.638e-05/0.82, 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.0003001/0.8203, allocations: 7.938 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003182/0.8206, allocations: 118.2 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.8209, allocations: 0.6768 MB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.028e-05/0.821, allocations: 0 / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.696e-05/0.821, allocations: 7.438 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.821, allocations: 4 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of Templates: time 0.003373/0.8244, allocations: 429.9 kB / 1.023 GB, free: 12.61 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