Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001379/0.001379, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.001606/0.001606, allocations: 220 kB / 23.05 MB, free: 4.844 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.766 MB / 206.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 3.15/3.15, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 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.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y",fileNamePrefix="Buildings_12_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_12_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.002061/0.002061, allocations: 68.45 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.353, allocations: 176.1 MB / 1.327 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.00181/0.3548, allocations: 0.6261 MB / 1.328 GB, free: 296 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.3558, allocations: 0.8398 MB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.286e-05/0.3559, allocations: 0 / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.266e-05/0.3559, allocations: 7.938 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.588e-05/0.3559, allocations: 3.938 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001662/0.3561, allocations: 11.92 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.423e-05/0.3562, allocations: 19.94 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5e-05/0.3562, allocations: 4 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.3564, allocations: 15.97 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.558e-05/0.3564, allocations: 7.938 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.3564, allocations: 4 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.221e-05/0.3565, allocations: 7.984 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.337e-06/0.3565, allocations: 4 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 1.702e-05/0.3565, allocations: 7.938 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.3566, allocations: 19.86 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.3566, allocations: 7.984 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.542e-06/0.3566, allocations: 0 / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.3566, allocations: 0 / 1.329 GB, free: 15.32 MB / 1.029 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.0003677/0.357, allocations: 251.4 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.357, allocations: 8.031 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.3571, allocations: 12.92 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.3572, allocations: 114.5 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.3573, allocations: 4.375 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.264e-06/0.3573, allocations: 384 / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.3574, allocations: 38.25 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.3574, allocations: 192 / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.3574, allocations: 3.938 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.287e-06/0.3574, allocations: 0 / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.54e-05/0.3575, allocations: 15.92 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001326/0.3576, allocations: 101.3 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.028e-05/0.3577, allocations: 34.53 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.404e-05/0.3577, allocations: 16.86 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.3577, allocations: 0 / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.3578, allocations: 30.56 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.3578, allocations: 0 / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0002028/0.358, allocations: 61.55 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.358, allocations: 51.41 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.903e-05/0.3581, allocations: 105.8 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.3581, allocations: 29.83 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.256e-05/0.3582, allocations: 80.14 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.3582, allocations: 4 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.3582, allocations: 13.72 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3583, allocations: 310.8 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.022e-05/0.3584, allocations: 7.984 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.024e-05/0.3584, allocations: 8 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.964e-05/0.3585, allocations: 20.84 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3585, allocations: 4.062 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001139/0.3586, allocations: 53.58 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.3586, allocations: 4 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.3586, allocations: 256 / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.3586, allocations: 11.92 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.832e-05/0.3587, allocations: 4 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.3587, allocations: 0 / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.062e-05/0.3587, allocations: 4 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.3587, allocations: 0 / 1.33 GB, free: 13.77 MB / 1.029 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 8.191e-05/0.3588, allocations: 109.9 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.709e-06/0.3588, allocations: 7.984 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.309e-05/0.3589, allocations: 7.156 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.3589, allocations: 3.938 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3589, allocations: 0 / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.3589, allocations: 0 / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.286e-05/0.3589, allocations: 101.3 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3589, allocations: 3.984 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.435e-05/0.359, allocations: 4 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.359, allocations: 0 / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.359, allocations: 0 / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.359, allocations: 7.938 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.359, allocations: 3.938 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.3591, allocations: 77.05 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.668e-06/0.3591, allocations: 7.953 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.3592, allocations: 4 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.501e-05/0.3592, allocations: 0 / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.814e-05/0.3592, allocations: 7.875 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.3592, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.87e-05/0.3593, allocations: 83.27 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3593, allocations: 8.031 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001765/0.3594, allocations: 0 / 1.33 GB, free: 13.27 MB / 1.029 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 0.0001206/0.3596, allocations: 106 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001208/0.3597, allocations: 15.98 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3597, allocations: 0 / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.955e-05/0.3597, allocations: 15.92 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.3599, allocations: 5.094 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002928/0.3601, allocations: 128.8 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.452e-05/0.3602, allocations: 63.34 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.69e-05/0.3602, allocations: 7.438 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.3602, allocations: 4 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of Templates: time 0.001783/0.362, allocations: 465.7 kB / 1.331 GB, free: 12.41 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.049950646003708]