Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 78.64 kB / 19.76 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002484/0.002484, allocations: 164.6 kB / 23.01 MB, free: 4.598 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.467/1.467, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.956/2.956, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 63.91 kB / 1.009 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9995/1.002, allocations: 181.8 MB / 1.187 GB, free: 16.24 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001719/1.003, allocations: 0.6208 MB / 1.187 GB, free: 15.86 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0008444/1.004, allocations: 0.8324 MB / 1.188 GB, free: 15.24 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.34e-05/1.004, allocations: 0 / 1.188 GB, free: 15.24 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.198e-05/1.004, allocations: 3.938 kB / 1.188 GB, free: 15.23 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.864e-05/1.004, allocations: 9.797 kB / 1.188 GB, free: 15.23 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/1.004, allocations: 12.52 kB / 1.188 GB, free: 15.22 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 6.743e-05/1.005, allocations: 18.16 kB / 1.188 GB, free: 15.21 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.773e-05/1.005, allocations: 6.688 kB / 1.188 GB, free: 15.21 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/1.005, allocations: 17.34 kB / 1.188 GB, free: 15.2 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.377e-05/1.005, allocations: 17.27 kB / 1.188 GB, free: 15.19 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/1.005, allocations: 0 / 1.188 GB, free: 15.19 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 4.209e-05/1.005, allocations: 8.875 kB / 1.188 GB, free: 15.18 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/1.005, allocations: 0.6562 kB / 1.188 GB, free: 15.18 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.822e-05/1.005, allocations: 7.094 kB / 1.188 GB, free: 15.18 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 9.516e-05/1.005, allocations: 23.98 kB / 1.188 GB, free: 15.17 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/1.005, allocations: 0.75 kB / 1.188 GB, free: 15.17 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.743e-06/1.005, allocations: 1.312 kB / 1.188 GB, free: 15.17 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.31e-06/1.005, allocations: 4 kB / 1.188 GB, free: 15.17 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003241/1.005, allocations: 249.2 kB / 1.188 GB, free: 14.91 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/1.005, allocations: 8.719 kB / 1.188 GB, free: 14.91 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/1.006, allocations: 14.66 kB / 1.188 GB, free: 14.91 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.212e-05/1.006, allocations: 109.8 kB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/1.006, allocations: 1.844 kB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-06/1.006, allocations: 384 / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/1.006, allocations: 39.8 kB / 1.189 GB, free: 14.74 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/1.006, allocations: 192 / 1.189 GB, free: 14.74 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/1.006, allocations: 7.938 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/1.006, allocations: 1.406 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.486e-05/1.006, allocations: 16.33 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.339e-05/1.006, allocations: 102.3 kB / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 6.607e-05/1.006, allocations: 21.64 kB / 1.189 GB, free: 14.58 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.99e-05/1.006, allocations: 16.41 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/1.006, allocations: 0 / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.653e-05/1.006, allocations: 32.38 kB / 1.189 GB, free: 14.53 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/1.006, allocations: 0 / 1.189 GB, free: 14.53 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.0001906/1.006, allocations: 63.25 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.076e-05/1.006, allocations: 53.52 kB / 1.189 GB, free: 14.42 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.154e-05/1.006, allocations: 102 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.322e-06/1.006, allocations: 25.7 kB / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.728e-05/1.006, allocations: 82.17 kB / 1.189 GB, free: 14.21 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/1.006, allocations: 9.938 kB / 1.189 GB, free: 14.2 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.387e-05/1.006, allocations: 12.03 kB / 1.189 GB, free: 14.18 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.387e-05/1.006, allocations: 317.6 kB / 1.189 GB, free: 13.87 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.598e-05/1.006, allocations: 5.312 kB / 1.189 GB, free: 13.87 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.785e-05/1.006, allocations: 10.91 kB / 1.189 GB, free: 13.86 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.448e-05/1.007, allocations: 21.56 kB / 1.189 GB, free: 13.85 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/1.007, allocations: 0 / 1.189 GB, free: 13.85 MB / 1.076 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.225e-05/1.007, allocations: 55.41 kB / 1.189 GB, free: 13.81 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/1.007, allocations: 4.875 kB / 1.19 GB, free: 13.81 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/1.007, allocations: 1.953 kB / 1.19 GB, free: 13.81 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/1.007, allocations: 7.922 kB / 1.19 GB, free: 13.8 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.992e-05/1.007, allocations: 13.14 kB / 1.19 GB, free: 13.79 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/1.007, allocations: 256 / 1.19 GB, free: 13.79 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.908e-05/1.007, allocations: 2.594 kB / 1.19 GB, free: 13.79 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/1.007, allocations: 5.406 kB / 1.19 GB, free: 13.79 MB / 1.076 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 (1): * Single equations (assignments): 1 * 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 5.613e-05/1.007, allocations: 108 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.637e-06/1.007, allocations: 1.188 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.775e-05/1.007, allocations: 5.203 kB / 1.19 GB, free: 13.67 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/1.007, allocations: 4.641 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/1.007, allocations: 1.438 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/1.007, allocations: 0 / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.717e-05/1.007, allocations: 111.7 kB / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/1.007, allocations: 0 / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.572e-05/1.007, allocations: 4.281 kB / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/1.007, allocations: 0.7031 kB / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/1.007, allocations: 1.438 kB / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/1.007, allocations: 0.6094 kB / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.007, allocations: 3.938 kB / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/1.007, allocations: 72.58 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.023e-06/1.007, allocations: 2.047 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/1.007, allocations: 6.047 kB / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.684e-05/1.007, allocations: 2.078 kB / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/1.007, allocations: 6.656 kB / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/1.007, allocations: 0 / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.357e-05/1.007, allocations: 85.23 kB / 1.19 GB, free: 13.37 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/1.007, allocations: 0 / 1.19 GB, free: 13.37 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001767/1.007, allocations: 3.594 kB / 1.19 GB, free: 13.37 MB / 1.076 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 (1): * Single equations (assignments): 1 * 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 8.087e-05/1.007, allocations: 94.78 kB / 1.19 GB, free: 13.28 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001194/1.008, allocations: 26.25 kB / 1.19 GB, free: 13.27 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/1.008, allocations: 0 / 1.19 GB, free: 13.27 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.746e-05/1.008, allocations: 7.5 kB / 1.19 GB, free: 13.27 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/1.008, allocations: 1.125 kB / 1.19 GB, free: 13.27 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002245/1.008, allocations: 110.8 kB / 1.19 GB, free: 13.16 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.114e-05/1.008, allocations: 62.64 kB / 1.19 GB, free: 13.09 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.319e-05/1.008, allocations: 0.7031 kB / 1.19 GB, free: 13.09 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.073e-05/1.008, allocations: 9.75 kB / 1.19 GB, free: 13.08 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/1.008, allocations: 4 kB / 1.19 GB, free: 13.07 MB / 1.076 GB Notification: Performance of Templates: time 0.002276/1.01, allocations: 284.6 kB / 1.191 GB, free: 13 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.091301698004827]