Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Sources.Validation.Sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002182/0.002181, allocations: 191 kB / 16.25 MB, free: 6.637 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.487/1.487, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.52/2.52, allocations: 390.2 MB / 0.6644 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001677, allocations: 63.91 kB / 0.8121 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.827/0.8287, allocations: 140.4 MB / 0.9491 GB, free: 9.266 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.002809/0.8316, allocations: 0.6653 MB / 0.9498 GB, free: 8.758 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001129/0.8328, allocations: 0.8075 MB / 0.9506 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.897e-05/0.8328, allocations: 1.375 kB / 0.9506 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.83e-05/0.8329, allocations: 0 / 0.9506 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.683e-05/0.833, allocations: 7.922 kB / 0.9506 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001742/0.8332, allocations: 5.375 kB / 0.9506 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.64e-05/0.8332, allocations: 16.19 kB / 0.9506 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.725e-05/0.8333, allocations: 9.359 kB / 0.9506 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.8334, allocations: 13.48 kB / 0.9506 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.712e-05/0.8335, allocations: 10.67 kB / 0.9506 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.8335, allocations: 1.375 kB / 0.9506 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.578e-06/0.8336, allocations: 1.375 kB / 0.9506 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.803e-05/0.8336, allocations: 4 kB / 0.9506 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.008e-05/0.8336, allocations: 6.688 kB / 0.9506 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.471e-05/0.8337, allocations: 10.73 kB / 0.9506 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.8337, allocations: 1.375 kB / 0.9507 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8337, allocations: 0 / 0.9507 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.8337, allocations: 4 kB / 0.9507 GB, free: 8.035 MB / 0.7169 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.0003454/0.8341, allocations: 338.7 kB / 0.951 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.8341, allocations: 8.5 kB / 0.951 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.958e-05/0.8342, allocations: 6.25 kB / 0.951 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.379e-05/0.8342, allocations: 173.8 kB / 0.9512 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.8343, allocations: 5.5 kB / 0.9512 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.8343, allocations: 384 / 0.9512 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.8344, allocations: 35.44 kB / 0.9512 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.8344, allocations: 5.875 kB / 0.9512 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.8344, allocations: 3.938 kB / 0.9512 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.8345, allocations: 0 / 0.9512 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.091e-05/0.8345, allocations: 15.58 kB / 0.9512 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001458/0.8347, allocations: 150 kB / 0.9514 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.687e-05/0.8348, allocations: 26.61 kB / 0.9514 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.124e-05/0.8348, allocations: 14.09 kB / 0.9514 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.8348, allocations: 4 kB / 0.9514 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.8349, allocations: 35.73 kB / 0.9514 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.8349, allocations: 0 / 0.9514 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0002731/0.8351, allocations: 57.02 kB / 0.9515 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.8352, allocations: 56.84 kB / 0.9515 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.858e-05/0.8353, allocations: 99.61 kB / 0.9516 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.8353, allocations: 29.83 kB / 0.9517 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.061e-05/0.8353, allocations: 89.44 kB / 0.9518 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.8353, allocations: 1.438 kB / 0.9518 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.8354, allocations: 11.12 kB / 0.9518 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.047e-05/0.8355, allocations: 312.4 kB / 0.9521 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.054e-05/0.8355, allocations: 10.89 kB / 0.9521 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.895e-05/0.8355, allocations: 4.469 kB / 0.9521 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.07e-05/0.8356, allocations: 27.31 kB / 0.9521 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.8356, allocations: 0 / 0.9521 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001008/0.8357, allocations: 50.66 kB / 0.9522 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.8358, allocations: 6 kB / 0.9522 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/0.8358, allocations: 3.938 kB / 0.9522 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.8358, allocations: 1.719 kB / 0.9522 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.279e-05/0.8359, allocations: 6.672 kB / 0.9522 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.8359, allocations: 0 / 0.9522 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.033e-05/0.8359, allocations: 9.312 kB / 0.9522 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.8359, allocations: 1.406 kB / 0.9522 GB, free: 6.363 MB / 0.7169 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.393e-05/0.836, allocations: 111.2 kB / 0.9523 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.025e-05/0.836, allocations: 1.344 kB / 0.9523 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.964e-05/0.836, allocations: 11 kB / 0.9523 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.836, allocations: 5.328 kB / 0.9523 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.836, allocations: 0 / 0.9523 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.8361, allocations: 3.938 kB / 0.9523 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.085e-05/0.8361, allocations: 153.3 kB / 0.9525 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.8361, allocations: 5.25 kB / 0.9525 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.79e-05/0.8362, allocations: 6.281 kB / 0.9525 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.8362, allocations: 0 / 0.9525 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.8362, allocations: 5.031 kB / 0.9525 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.8362, allocations: 0 / 0.9525 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.8362, allocations: 1.188 kB / 0.9525 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.8363, allocations: 73.48 kB / 0.9525 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.281e-05/0.8364, allocations: 82.48 kB / 0.9526 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.8364, allocations: 5.312 kB / 0.9526 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.677e-05/0.8364, allocations: 1.125 kB / 0.9526 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.8365, allocations: 5.547 kB / 0.9526 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.8365, allocations: 0 / 0.9526 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.155e-05/0.8365, allocations: 83.56 kB / 0.9527 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8365, allocations: 0 / 0.9527 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001814/0.8367, allocations: 3 kB / 0.9527 GB, free: 5.758 MB / 0.7169 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.0001473/0.8368, allocations: 101.6 kB / 0.9528 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001321/0.837, allocations: 14.39 kB / 0.9528 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.837, allocations: 0 / 0.9528 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.13e-05/0.837, allocations: 17.02 kB / 0.9528 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/0.8372, allocations: 1.344 kB / 0.9528 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003014/0.8375, allocations: 109.8 kB / 0.953 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001336/0.8377, allocations: 0.6761 MB / 0.9536 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.592e-05/0.8377, allocations: 1.812 kB / 0.9536 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.427e-05/0.8377, allocations: 11.42 kB / 0.9536 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.8377, allocations: 0 / 0.9536 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of Templates: time 0.002252/0.84, allocations: 255.8 kB / 0.9539 GB, free: 4.691 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches