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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|sin.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 113.6 kB / 16.41 MB, free: 6.445 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.002163/0.002163, allocations: 183 kB / 17.34 MB, free: 5.738 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.499/2.499, allocations: 437 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 67.89 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7568/0.7583, allocations: 151.6 MB / 1.167 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001787/0.7601, allocations: 0.6098 MB / 1.168 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009144/0.7611, allocations: 0.8078 MB / 1.169 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.096e-05/0.7611, allocations: 0 / 1.169 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.089e-05/0.7611, allocations: 0 / 1.169 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.07e-05/0.7612, allocations: 3.938 kB / 1.169 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001426/0.7614, allocations: 11.97 kB / 1.169 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.273e-05/0.7614, allocations: 19.94 kB / 1.169 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.899e-05/0.7615, allocations: 11.98 kB / 1.169 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.752e-05/0.7616, allocations: 7.938 kB / 1.169 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.995e-05/0.7617, allocations: 15.92 kB / 1.169 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.7617, allocations: 0 / 1.169 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.323e-06/0.7617, allocations: 0 / 1.169 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.316e-05/0.7617, allocations: 0 / 1.169 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.882e-05/0.7618, allocations: 11.92 kB / 1.169 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 7.359e-05/0.7619, allocations: 15.98 kB / 1.169 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.7619, allocations: 3.984 kB / 1.169 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7619, allocations: 0 / 1.169 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.7619, allocations: 0 / 1.169 GB, free: 2.281 MB / 0.8887 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.000396/0.7623, allocations: 327.3 kB / 1.169 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.7623, allocations: 16.86 kB / 1.169 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.201e-05/0.7624, allocations: 0.9375 kB / 1.169 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.7625, allocations: 160.4 kB / 1.169 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.7625, allocations: 384 / 1.169 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.7625, allocations: 4.375 kB / 1.169 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.7627, allocations: 46.17 kB / 1.169 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.473e-06/0.7627, allocations: 192 / 1.169 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.7627, allocations: 3.938 kB / 1.169 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.7627, allocations: 0 / 1.169 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.537e-05/0.7628, allocations: 19.92 kB / 1.169 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001534/0.7629, allocations: 157.7 kB / 1.17 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.55e-05/0.763, allocations: 26.59 kB / 1.17 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.218e-05/0.763, allocations: 19.38 kB / 1.17 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.7631, allocations: 4 kB / 1.17 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.7631, allocations: 34.5 kB / 1.17 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.7631, allocations: 0 / 1.17 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0002064/0.7633, allocations: 61.52 kB / 1.17 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.7634, allocations: 55.53 kB / 1.17 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.64e-05/0.7634, allocations: 101.9 kB / 1.17 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.7635, allocations: 29.69 kB / 1.17 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.392e-05/0.7635, allocations: 80.14 kB / 1.17 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.7635, allocations: 0 / 1.17 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/0.7636, allocations: 9.719 kB / 1.17 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.486e-05/0.7637, allocations: 318.8 kB / 1.17 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.845e-05/0.7637, allocations: 7.984 kB / 1.17 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.686e-05/0.7637, allocations: 8 kB / 1.17 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.105e-05/0.7638, allocations: 24.78 kB / 1.17 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.7638, allocations: 0 / 1.17 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001043/0.7639, allocations: 41.69 kB / 1.17 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.764, allocations: 8 kB / 1.17 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.764, allocations: 3.938 kB / 1.17 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.764, allocations: 0 / 1.17 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.931e-05/0.7641, allocations: 12.08 kB / 1.17 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.7641, allocations: 0 / 1.17 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.308e-05/0.7641, allocations: 4 kB / 1.17 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.7641, allocations: 3.938 kB / 1.17 GB, free: 0.5039 MB / 0.8887 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 6.386e-05/0.7642, allocations: 109.8 kB / 1.17 GB, free: 396 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.09e-05/0.7642, allocations: 3.906 kB / 1.17 GB, free: 392 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.104e-05/0.7642, allocations: 11.05 kB / 1.17 GB, free: 376 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.7642, allocations: 4 kB / 1.17 GB, free: 372 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.7642, allocations: 0 / 1.17 GB, free: 372 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.7643, allocations: 4 kB / 1.17 GB, free: 368 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.903e-05/0.7644, allocations: 153.6 kB / 1.171 GB, free: 164 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.7644, allocations: 4 kB / 1.171 GB, free: 160 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.621e-05/0.7644, allocations: 0 / 1.171 GB, free: 160 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.7644, allocations: 0 / 1.171 GB, free: 160 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.7644, allocations: 7.938 kB / 1.171 GB, free: 152 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.7644, allocations: 0 / 1.171 GB, free: 152 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.7644, allocations: 0 / 1.171 GB, free: 152 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.7646, allocations: 73.36 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/0.7646, allocations: 77.11 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.7647, allocations: 15.88 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.835e-05/0.7647, allocations: 0 / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/0.7647, allocations: 3.984 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.7647, allocations: 0 / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.023e-05/0.7648, allocations: 83.28 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7648, allocations: 0 / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001841/0.765, allocations: 4.031 kB / 1.171 GB, free: 15.86 MB / 0.9044 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.0001216/0.7651, allocations: 109.7 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001164/0.7652, allocations: 15.98 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.7652, allocations: 0 / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.882e-05/0.7653, allocations: 11.98 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.7654, allocations: 0 / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003118/0.7657, allocations: 142.3 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.766, allocations: 0.669 MB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.995e-05/0.766, allocations: 15.42 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.766, allocations: 0 / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of Templates: time 0.001891/0.7679, allocations: 463.7 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches