Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.00189/0.00189, allocations: 78.33 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.002087/0.002087, allocations: 161.1 kB / 23.01 MB, free: 4.59 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.455/1.455, allocations: 177.2 MB / 203.4 MB, free: 8.895 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.778/2.778, allocations: 377.9 MB / 0.6228 GB, free: 12.71 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.002232/0.002232, allocations: 63.91 kB / 0.982 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9907/0.9929, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.00168/0.9946, allocations: 0.6674 MB / 1.155 GB, free: 32.91 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0007663/0.9954, allocations: 0.8373 MB / 1.155 GB, free: 32.27 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.417e-05/0.9954, allocations: 2.531 kB / 1.155 GB, free: 32.27 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.647e-05/0.9954, allocations: 0 / 1.155 GB, free: 32.27 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.156e-05/0.9955, allocations: 7.266 kB / 1.155 GB, free: 32.27 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.9957, allocations: 14.42 kB / 1.155 GB, free: 32.26 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 6.328e-05/0.9957, allocations: 25.45 kB / 1.155 GB, free: 32.25 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.172e-05/0.9958, allocations: 10 kB / 1.155 GB, free: 32.24 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 5.653e-05/0.9959, allocations: 20.97 kB / 1.156 GB, free: 32.23 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 3.697e-05/0.9959, allocations: 5.844 kB / 1.156 GB, free: 32.23 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.9959, allocations: 0 / 1.156 GB, free: 32.23 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 4.39e-05/0.996, allocations: 8.938 kB / 1.156 GB, free: 32.22 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.996, allocations: 7.172 kB / 1.156 GB, free: 32.22 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.854e-05/0.996, allocations: 6.688 kB / 1.156 GB, free: 32.21 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 9.854e-05/0.9961, allocations: 33.12 kB / 1.156 GB, free: 32.2 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.9961, allocations: 0 / 1.156 GB, free: 32.2 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9961, allocations: 0 / 1.156 GB, free: 32.2 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.9961, allocations: 0 / 1.156 GB, free: 32.2 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003749/0.9965, allocations: 268.4 kB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.9965, allocations: 7.594 kB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.806e-05/0.9966, allocations: 3.719 kB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.167e-05/0.9967, allocations: 108.6 kB / 1.156 GB, free: 31.81 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.9967, allocations: 384 / 1.156 GB, free: 31.81 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.9967, allocations: 7.031 kB / 1.156 GB, free: 31.8 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.9969, allocations: 43.62 kB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.9969, allocations: 4.125 kB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.9969, allocations: 7.938 kB / 1.156 GB, free: 31.76 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.9969, allocations: 2.875 kB / 1.156 GB, free: 31.76 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.9971, allocations: 36.47 kB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002309/0.9973, allocations: 195 kB / 1.156 GB, free: 31.55 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.9974, allocations: 41.02 kB / 1.156 GB, free: 31.52 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.916e-05/0.9975, allocations: 20.95 kB / 1.156 GB, free: 31.5 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.9975, allocations: 3.938 kB / 1.156 GB, free: 31.5 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/0.9975, allocations: 40.59 kB / 1.156 GB, free: 31.46 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.9975, allocations: 4 kB / 1.156 GB, free: 31.45 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0003145/0.9979, allocations: 78.73 kB / 1.156 GB, free: 31.41 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.096e-05/0.9979, allocations: 51.41 kB / 1.156 GB, free: 31.35 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.956e-05/0.9979, allocations: 98.84 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.826e-06/0.9979, allocations: 29.7 kB / 1.157 GB, free: 31.22 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.384e-05/0.998, allocations: 80.14 kB / 1.157 GB, free: 31.14 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.998, allocations: 6.766 kB / 1.157 GB, free: 31.13 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.658e-05/0.998, allocations: 19.88 kB / 1.157 GB, free: 31.11 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.578e-05/0.998, allocations: 314.8 kB / 1.157 GB, free: 30.8 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.588e-05/0.9981, allocations: 11.84 kB / 1.157 GB, free: 30.8 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.018e-05/0.9982, allocations: 25.67 kB / 1.157 GB, free: 30.79 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.9983, allocations: 38.02 kB / 1.157 GB, free: 30.78 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.9983, allocations: 0 / 1.157 GB, free: 30.78 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001723/0.9985, allocations: 68.89 kB / 1.157 GB, free: 30.73 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.9985, allocations: 9.75 kB / 1.157 GB, free: 30.73 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.9985, allocations: 0 / 1.157 GB, free: 30.73 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.9985, allocations: 0 / 1.157 GB, free: 30.73 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.259e-05/0.9986, allocations: 8.828 kB / 1.157 GB, free: 30.73 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.9986, allocations: 0 / 1.157 GB, free: 30.73 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.58e-05/0.9987, allocations: 8.875 kB / 1.157 GB, free: 30.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.9987, allocations: 0 / 1.157 GB, free: 30.73 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 (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 4.264e-05/0.9987, allocations: 120.5 kB / 1.157 GB, free: 30.61 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.9987, allocations: 7.891 kB / 1.157 GB, free: 30.6 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002027/0.9989, allocations: 69.59 kB / 1.157 GB, free: 30.55 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.9989, allocations: 192 / 1.157 GB, free: 30.55 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.9989, allocations: 3.188 kB / 1.157 GB, free: 30.55 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.9989, allocations: 3.984 kB / 1.157 GB, free: 30.55 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.72e-05/0.999, allocations: 103.1 kB / 1.157 GB, free: 30.43 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.999, allocations: 0 / 1.157 GB, free: 30.43 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.512e-05/0.9991, allocations: 12.84 kB / 1.157 GB, free: 30.42 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.9991, allocations: 3.938 kB / 1.157 GB, free: 30.42 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.9991, allocations: 0 / 1.157 GB, free: 30.42 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.9991, allocations: 6.984 kB / 1.157 GB, free: 30.41 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.9991, allocations: 3.344 kB / 1.157 GB, free: 30.41 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/0.9993, allocations: 159.3 kB / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.733e-06/0.9993, allocations: 6.875 kB / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.9993, allocations: 3.328 kB / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.469e-05/0.9994, allocations: 6.969 kB / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.9994, allocations: 6.062 kB / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.9994, allocations: 4 kB / 1.158 GB, free: 30.26 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.969e-05/0.9994, allocations: 82 kB / 1.158 GB, free: 30.18 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/0.9994, allocations: 0 / 1.158 GB, free: 30.18 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002145/0.9996, allocations: 5.25 kB / 1.158 GB, free: 30.18 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 (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 9.088e-05/0.9997, allocations: 100.1 kB / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001995/0.9999, allocations: 42.94 kB / 1.158 GB, free: 30.08 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.9999, allocations: 0 / 1.158 GB, free: 30.08 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.88e-05/1, allocations: 18.27 kB / 1.158 GB, free: 30.07 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/1, allocations: 2.844 kB / 1.158 GB, free: 30.07 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002419/1.001, allocations: 108.5 kB / 1.158 GB, free: 29.97 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.026e-05/1.001, allocations: 63.75 kB / 1.158 GB, free: 29.89 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.096e-05/1.001, allocations: 3.031 kB / 1.158 GB, free: 29.89 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.349e-05/1.001, allocations: 12.62 kB / 1.158 GB, free: 29.88 MB / 1.076 GB Notification: Performance of SimCode: time 3.41e-07/1.001, allocations: 0 / 1.158 GB, free: 29.88 MB / 1.076 GB Notification: Performance of Templates: time 0.002454/1.003, allocations: 455.9 kB / 1.158 GB, free: 29.8 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.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: 8.840425955015235]