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/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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01142/0.01142, allocations: 101.5 kB / 15.73 MB, free: 6.012 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.002112/0.002112, allocations: 190.2 kB / 16.67 MB, free: 5.949 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.518/1.518, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.559/2.559, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001712/0.001712, allocations: 71.77 kB / 0.9509 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.386, allocations: 140.4 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.002632/0.3887, allocations: 0.6584 MB / 1.089 GB, free: 0.8359 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.3899, allocations: 0.816 MB / 1.089 GB, free: 8 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.565e-05/0.39, allocations: 4 kB / 1.089 GB, free: 4 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.454e-05/0.3901, allocations: 4 kB / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.674e-05/0.3902, allocations: 4.047 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000175/0.3904, allocations: 7.984 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.679e-05/0.3905, allocations: 27.92 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.3906, allocations: 0 / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.971e-05/0.3907, allocations: 19.8 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.015e-05/0.3907, allocations: 4 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.3908, allocations: 3.938 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.003e-05/0.3908, allocations: 7.938 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.66e-05/0.3908, allocations: 11.98 kB / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.431e-05/0.3909, allocations: 11.94 kB / 1.09 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.273e-05/0.391, allocations: 15.97 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.391, allocations: 0 / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.562e-06/0.391, allocations: 0 / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.391, allocations: 0 / 1.09 GB, free: 15.89 MB / 0.8575 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.0005272/0.3915, allocations: 335.5 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.3916, allocations: 12.03 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.204e-05/0.3916, allocations: 4.844 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.3918, allocations: 164.4 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.3918, allocations: 4.375 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.3918, allocations: 4.359 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.392, allocations: 58.11 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.3921, allocations: 192 / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.3921, allocations: 3.938 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.3921, allocations: 0 / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001775/0.3923, allocations: 35.95 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000395/0.3927, allocations: 248.9 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.3928, allocations: 46.47 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.509e-05/0.3929, allocations: 20.91 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.3929, allocations: 0 / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.393, allocations: 38.56 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.393, allocations: 0 / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003916/0.3934, allocations: 77.64 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.3934, allocations: 55.41 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.537e-05/0.3935, allocations: 97.84 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.3936, allocations: 25.83 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.019e-05/0.3936, allocations: 92.05 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.3937, allocations: 3.938 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.322e-05/0.3937, allocations: 13.72 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3939, allocations: 314.8 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.494e-05/0.3939, allocations: 19.97 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.005e-05/0.394, allocations: 15.98 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.3942, allocations: 40.89 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3942, allocations: 0 / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001972/0.3944, allocations: 69.5 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.3944, allocations: 8 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.3944, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.3945, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.3946, allocations: 15.95 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3946, allocations: 3.938 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.594e-05/0.3946, allocations: 7.984 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.3947, allocations: 4 kB / 1.091 GB, free: 13.86 MB / 0.8575 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.396e-05/0.3948, allocations: 113.8 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.3948, allocations: 0 / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002311/0.395, allocations: 72.78 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.395, allocations: 0 / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.395, allocations: 0 / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3951, allocations: 3.938 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.3952, allocations: 161.6 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.3952, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.791e-05/0.3953, allocations: 8 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.3953, allocations: 0 / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.3953, allocations: 7.984 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.3953, allocations: 3.938 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3953, allocations: 4.031 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.3956, allocations: 163.5 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.729e-05/0.3957, allocations: 84.95 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.3957, allocations: 4 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.25e-05/0.3957, allocations: 4 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/0.3958, allocations: 12.02 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.3958, allocations: 0 / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.733e-05/0.3959, allocations: 79.47 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3959, allocations: 0 / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002084/0.3961, allocations: 4 kB / 1.092 GB, free: 13.04 MB / 0.8575 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.000165/0.3963, allocations: 95.92 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002095/0.3965, allocations: 47.89 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3965, allocations: 0 / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.802e-05/0.3966, allocations: 19.98 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.3969, allocations: 3.938 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000379/0.3973, allocations: 105.6 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.3976, allocations: 0.6768 MB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.083e-05/0.3976, allocations: 12.11 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.808e-05/0.3976, allocations: 7.438 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of SimCode: time 3.71e-07/0.3976, allocations: 0 / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of Templates: time 0.0025/0.4001, allocations: 438.5 kB / 1.093 GB, free: 11.59 MB / 0.8575 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches