Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 103.8 kB / 17.07 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 194.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.716/2.716, allocations: 437.1 MB / 0.7177 GB, free: 4.5 MB / 0.5606 GB " [Timeout remaining time 177] 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.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y",fileNamePrefix="Buildings_10_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_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 71.91 kB / 1.028 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3225, allocations: 151.6 MB / 1.176 GB, free: 5.863 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001843/0.3244, allocations: 0.6113 MB / 1.176 GB, free: 5.246 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.3254, allocations: 0.816 MB / 1.177 GB, free: 4.418 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.547e-05/0.3255, allocations: 0 / 1.177 GB, free: 4.418 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.189e-05/0.3255, allocations: 4 kB / 1.177 GB, free: 4.414 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.761e-05/0.3256, allocations: 7.938 kB / 1.177 GB, free: 4.406 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001399/0.3257, allocations: 11.92 kB / 1.177 GB, free: 4.395 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.713e-05/0.3258, allocations: 15.94 kB / 1.177 GB, free: 4.379 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.096e-05/0.3259, allocations: 0 / 1.177 GB, free: 4.379 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.147e-05/0.326, allocations: 19.92 kB / 1.177 GB, free: 4.359 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.817e-05/0.326, allocations: 7.922 kB / 1.177 GB, free: 4.352 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.3261, allocations: 4 kB / 1.177 GB, free: 4.348 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.739e-06/0.3261, allocations: 0 / 1.177 GB, free: 4.348 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.635e-05/0.3261, allocations: 4 kB / 1.177 GB, free: 4.344 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.714e-05/0.3261, allocations: 15.92 kB / 1.177 GB, free: 4.328 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.007e-05/0.3262, allocations: 11.92 kB / 1.177 GB, free: 4.316 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.3262, allocations: 4 kB / 1.177 GB, free: 4.312 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3262, allocations: 0 / 1.177 GB, free: 4.312 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.3262, allocations: 0 / 1.177 GB, free: 4.312 MB / 0.92 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.0004459/0.3267, allocations: 323.5 kB / 1.178 GB, free: 3.945 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.3267, allocations: 8.031 kB / 1.178 GB, free: 3.938 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.3268, allocations: 8.891 kB / 1.178 GB, free: 3.93 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.3269, allocations: 168.4 kB / 1.178 GB, free: 3.727 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.327, allocations: 4.312 kB / 1.178 GB, free: 3.723 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.327, allocations: 384 / 1.178 GB, free: 3.723 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.3271, allocations: 42.25 kB / 1.178 GB, free: 3.676 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.3271, allocations: 192 / 1.178 GB, free: 3.676 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.3271, allocations: 3.938 kB / 1.178 GB, free: 3.672 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.3272, allocations: 0 / 1.178 GB, free: 3.672 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.804e-05/0.3272, allocations: 15.92 kB / 1.178 GB, free: 3.656 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001776/0.3274, allocations: 157.7 kB / 1.178 GB, free: 3.453 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.123e-05/0.3275, allocations: 22.58 kB / 1.178 GB, free: 3.422 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.527e-05/0.3275, allocations: 12.91 kB / 1.178 GB, free: 3.406 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.3276, allocations: 0 / 1.178 GB, free: 3.406 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.3276, allocations: 34.56 kB / 1.178 GB, free: 3.363 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.3276, allocations: 0 / 1.178 GB, free: 3.363 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.000214/0.3278, allocations: 61.56 kB / 1.178 GB, free: 3.297 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.3279, allocations: 51.41 kB / 1.178 GB, free: 3.234 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.705e-05/0.328, allocations: 101.8 kB / 1.178 GB, free: 3.125 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.328, allocations: 25.7 kB / 1.178 GB, free: 3.094 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.729e-05/0.328, allocations: 84.14 kB / 1.178 GB, free: 3.008 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.3281, allocations: 7.953 kB / 1.178 GB, free: 3 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.3281, allocations: 13.7 kB / 1.178 GB, free: 2.98 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.3283, allocations: 315 kB / 1.179 GB, free: 2.664 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.588e-05/0.3283, allocations: 8 kB / 1.179 GB, free: 2.656 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.2e-05/0.3284, allocations: 11.98 kB / 1.179 GB, free: 2.645 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.028e-05/0.3285, allocations: 16.84 kB / 1.179 GB, free: 2.625 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3285, allocations: 0 / 1.179 GB, free: 2.625 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001065/0.3286, allocations: 53.56 kB / 1.179 GB, free: 2.566 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3286, allocations: 8.094 kB / 1.179 GB, free: 2.559 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.3286, allocations: 11.92 kB / 1.179 GB, free: 2.547 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3286, allocations: 0 / 1.179 GB, free: 2.547 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.749e-05/0.3287, allocations: 0 / 1.179 GB, free: 2.547 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.3287, allocations: 4.25 kB / 1.179 GB, free: 2.543 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.96e-05/0.3288, allocations: 3.984 kB / 1.179 GB, free: 2.539 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.3288, allocations: 4 kB / 1.179 GB, free: 2.535 MB / 0.92 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.506e-05/0.3289, allocations: 109.8 kB / 1.179 GB, free: 2.418 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.078e-06/0.3289, allocations: 0 / 1.179 GB, free: 2.418 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.926e-05/0.3289, allocations: 19 kB / 1.179 GB, free: 2.398 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.3289, allocations: 0 / 1.179 GB, free: 2.398 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3289, allocations: 0 / 1.179 GB, free: 2.398 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3289, allocations: 0 / 1.179 GB, free: 2.398 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.329, allocations: 153.7 kB / 1.179 GB, free: 2.199 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3291, allocations: 0 / 1.179 GB, free: 2.199 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.608e-05/0.3291, allocations: 7.984 kB / 1.179 GB, free: 2.191 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.3291, allocations: 0 / 1.179 GB, free: 2.191 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.3291, allocations: 7.938 kB / 1.179 GB, free: 2.184 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.3291, allocations: 0 / 1.179 GB, free: 2.184 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.3291, allocations: 7.938 kB / 1.179 GB, free: 2.176 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.3293, allocations: 73.08 kB / 1.179 GB, free: 2.086 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.374e-05/0.3293, allocations: 81.09 kB / 1.179 GB, free: 1.988 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.3293, allocations: 3.938 kB / 1.179 GB, free: 1.984 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.801e-05/0.3294, allocations: 4 kB / 1.179 GB, free: 1.98 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/0.3294, allocations: 0 / 1.179 GB, free: 1.98 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.3294, allocations: 0 / 1.179 GB, free: 1.98 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.54e-05/0.3295, allocations: 87.3 kB / 1.179 GB, free: 1.895 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3295, allocations: 0 / 1.179 GB, free: 1.895 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000183/0.3297, allocations: 8 kB / 1.179 GB, free: 1.887 MB / 0.92 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.0001471/0.3298, allocations: 95.25 kB / 1.18 GB, free: 1.781 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001451/0.33, allocations: 19.92 kB / 1.18 GB, free: 1.762 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.33, allocations: 0 / 1.18 GB, free: 1.762 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.008e-05/0.33, allocations: 12.05 kB / 1.18 GB, free: 1.75 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.3302, allocations: 10.41 kB / 1.18 GB, free: 1.742 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002911/0.3305, allocations: 128.2 kB / 1.18 GB, free: 1.586 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.3308, allocations: 0.6768 MB / 1.18 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.603e-05/0.3309, allocations: 7.438 kB / 1.18 GB, free: 0.875 MB / 0.92 GB Notification: Performance of SimCode: time 2.2e-07/0.3309, allocations: 0 / 1.18 GB, free: 0.875 MB / 0.92 GB Notification: Performance of Templates: time 0.002103/0.333, allocations: 466.3 kB / 1.181 GB, free: 432 kB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.128248144988902]