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.0017/0.0017, allocations: 112.3 kB / 15.99 MB, free: 5.914 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.001945/0.001946, allocations: 194.2 kB / 16.91 MB, free: 5.754 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.552/1.552, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.528/2.528, allocations: 437.1 MB / 0.7107 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 69.06 kB / 0.8694 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3344, allocations: 151.6 MB / 1.018 GB, free: 10.98 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.002484/0.3369, allocations: 0.6742 MB / 1.018 GB, free: 10.31 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.3383, allocations: 0.804 MB / 1.019 GB, free: 9.492 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.418e-05/0.3383, allocations: 8 kB / 1.019 GB, free: 9.484 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.45e-05/0.3384, allocations: 0 / 1.019 GB, free: 9.484 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.969e-05/0.3385, allocations: 0 / 1.019 GB, free: 9.484 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001555/0.3386, allocations: 11.92 kB / 1.019 GB, free: 9.473 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.389e-05/0.3387, allocations: 19.92 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 6.347e-05/0.3388, allocations: 4 kB / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.298e-05/0.3389, allocations: 11.92 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.373e-05/0.339, allocations: 4 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.339, allocations: 4 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.03e-05/0.339, allocations: 0 / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.669e-05/0.339, allocations: 4 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.828e-05/0.3391, allocations: 15.92 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 6.551e-05/0.3391, allocations: 11.98 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3391, allocations: 0 / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3392, allocations: 0 / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.3392, allocations: 0 / 1.019 GB, free: 9.398 MB / 0.795 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.0004651/0.3396, allocations: 329.9 kB / 1.019 GB, free: 9.027 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.3397, allocations: 8.922 kB / 1.019 GB, free: 9.02 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.709e-05/0.3397, allocations: 8.844 kB / 1.019 GB, free: 9.012 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.3399, allocations: 172.4 kB / 1.02 GB, free: 8.805 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.3399, allocations: 384 / 1.02 GB, free: 8.805 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.3399, allocations: 384 / 1.02 GB, free: 8.805 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.3401, allocations: 42.19 kB / 1.02 GB, free: 8.758 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.3401, allocations: 192 / 1.02 GB, free: 8.758 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.3401, allocations: 3.938 kB / 1.02 GB, free: 8.754 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3401, allocations: 3.938 kB / 1.02 GB, free: 8.75 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.594e-05/0.3402, allocations: 12 kB / 1.02 GB, free: 8.738 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001952/0.3404, allocations: 157.7 kB / 1.02 GB, free: 8.535 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 7.192e-05/0.3405, allocations: 22.56 kB / 1.02 GB, free: 8.504 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.672e-05/0.3405, allocations: 14.45 kB / 1.02 GB, free: 8.488 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.3405, allocations: 3.984 kB / 1.02 GB, free: 8.484 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/0.3406, allocations: 46.42 kB / 1.02 GB, free: 8.43 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.3406, allocations: 0 / 1.02 GB, free: 8.43 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0002125/0.3408, allocations: 53.62 kB / 1.02 GB, free: 8.371 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.455e-05/0.3409, allocations: 55.41 kB / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.341, allocations: 101.8 kB / 1.02 GB, free: 8.195 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.341, allocations: 25.7 kB / 1.02 GB, free: 8.164 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.14e-05/0.3411, allocations: 84.14 kB / 1.02 GB, free: 8.078 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.3411, allocations: 3.906 kB / 1.02 GB, free: 8.074 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.3412, allocations: 9.719 kB / 1.02 GB, free: 8.059 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.3414, allocations: 323 kB / 1.02 GB, free: 7.734 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.813e-05/0.3414, allocations: 4 kB / 1.02 GB, free: 7.73 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.636e-05/0.3414, allocations: 15.92 kB / 1.02 GB, free: 7.715 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.054e-05/0.3415, allocations: 16.86 kB / 1.02 GB, free: 7.695 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3415, allocations: 0 / 1.02 GB, free: 7.695 MB / 0.795 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001072/0.3416, allocations: 45.67 kB / 1.021 GB, free: 7.645 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3417, allocations: 8.094 kB / 1.021 GB, free: 7.637 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.3417, allocations: 3.938 kB / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.3417, allocations: 4 kB / 1.021 GB, free: 7.629 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.912e-05/0.3418, allocations: 0 / 1.021 GB, free: 7.629 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.3418, allocations: 0 / 1.021 GB, free: 7.629 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.204e-05/0.3418, allocations: 8 kB / 1.021 GB, free: 7.621 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.3418, allocations: 3.984 kB / 1.021 GB, free: 7.617 MB / 0.795 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 0.0001115/0.342, allocations: 106.4 kB / 1.021 GB, free: 7.504 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.081e-05/0.342, allocations: 4 kB / 1.021 GB, free: 7.5 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.052e-05/0.342, allocations: 15 kB / 1.021 GB, free: 7.484 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.342, allocations: 0 / 1.021 GB, free: 7.484 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.342, allocations: 0 / 1.021 GB, free: 7.484 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.342, allocations: 256 / 1.021 GB, free: 7.484 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.3422, allocations: 153.7 kB / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.3422, allocations: 7.938 kB / 1.021 GB, free: 7.277 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.184e-05/0.3422, allocations: 7.984 kB / 1.021 GB, free: 7.27 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3422, allocations: 0 / 1.021 GB, free: 7.27 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.3423, allocations: 3.938 kB / 1.021 GB, free: 7.266 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3423, allocations: 0 / 1.021 GB, free: 7.266 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3423, allocations: 0 / 1.021 GB, free: 7.266 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.3424, allocations: 73.12 kB / 1.021 GB, free: 7.176 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.251e-05/0.3425, allocations: 81.02 kB / 1.021 GB, free: 7.078 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.3425, allocations: 7.922 kB / 1.021 GB, free: 7.07 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.016e-05/0.3425, allocations: 4 kB / 1.021 GB, free: 7.066 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.409e-05/0.3426, allocations: 0 / 1.021 GB, free: 7.066 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.3426, allocations: 0 / 1.021 GB, free: 7.066 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001351/0.3427, allocations: 87.31 kB / 1.021 GB, free: 6.98 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3427, allocations: 7.875 kB / 1.021 GB, free: 6.973 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001795/0.3429, allocations: 4 kB / 1.021 GB, free: 6.969 MB / 0.795 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.0001482/0.343, allocations: 101.7 kB / 1.021 GB, free: 6.863 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001335/0.3432, allocations: 19.98 kB / 1.021 GB, free: 6.844 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3432, allocations: 0 / 1.021 GB, free: 6.844 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.858e-05/0.3432, allocations: 8.062 kB / 1.021 GB, free: 6.836 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.3434, allocations: 6.531 kB / 1.021 GB, free: 6.832 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003201/0.3437, allocations: 132.4 kB / 1.021 GB, free: 6.672 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.3441, allocations: 0.6806 MB / 1.022 GB, free: 5.965 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.817e-05/0.3441, allocations: 7.438 kB / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of SimCode: time 3.1e-07/0.3441, allocations: 0 / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of Templates: time 0.002004/0.3461, allocations: 471.8 kB / 1.022 GB, free: 5.496 MB / 0.795 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=400 -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