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.01018/0.01018, allocations: 98.89 kB / 15.73 MB, free: 6.031 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.001669/0.001669, allocations: 196.5 kB / 16.67 MB, free: 5.953 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.542/1.542, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.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.383/2.383, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 67.89 kB / 0.9509 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.281/1.283, allocations: 140.4 MB / 1.088 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.002111/1.285, allocations: 0.6286 MB / 1.089 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001048/1.286, allocations: 0.7966 MB / 1.089 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.877e-05/1.286, allocations: 5.375 kB / 1.089 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.724e-05/1.286, allocations: 0 / 1.089 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.285e-05/1.286, allocations: 3.938 kB / 1.089 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/1.287, allocations: 12.05 kB / 1.089 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.153e-05/1.287, allocations: 22.53 kB / 1.089 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.824e-05/1.287, allocations: 2.062 kB / 1.089 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/1.287, allocations: 13.77 kB / 1.089 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.989e-05/1.287, allocations: 9.234 kB / 1.089 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/1.287, allocations: 1.156 kB / 1.089 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.167e-06/1.287, allocations: 5.125 kB / 1.089 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.963e-05/1.287, allocations: 1.859 kB / 1.089 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.971e-05/1.287, allocations: 11.33 kB / 1.089 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.264e-05/1.287, allocations: 17.61 kB / 1.089 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/1.287, allocations: 0.6094 kB / 1.089 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.805e-06/1.287, allocations: 0 / 1.089 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.901e-06/1.287, allocations: 0 / 1.089 GB, free: 4.488 MB / 0.8575 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.000394/1.288, allocations: 325.9 kB / 1.09 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/1.288, allocations: 8.969 kB / 1.09 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.043e-05/1.288, allocations: 2.406 kB / 1.09 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.687e-05/1.288, allocations: 167.4 kB / 1.09 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/1.288, allocations: 5.062 kB / 1.09 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/1.288, allocations: 1.922 kB / 1.09 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/1.288, allocations: 34.17 kB / 1.09 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/1.288, allocations: 0.8438 kB / 1.09 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/1.288, allocations: 4.625 kB / 1.09 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/1.288, allocations: 3.938 kB / 1.09 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.221e-05/1.288, allocations: 11.8 kB / 1.09 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001416/1.288, allocations: 157.6 kB / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.513e-05/1.288, allocations: 25.72 kB / 1.09 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.705e-05/1.288, allocations: 15.42 kB / 1.09 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/1.288, allocations: 3.938 kB / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/1.288, allocations: 32.38 kB / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/1.288, allocations: 0 / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0002158/1.289, allocations: 75.08 kB / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/1.289, allocations: 53.08 kB / 1.09 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.38e-05/1.289, allocations: 102.2 kB / 1.09 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/1.289, allocations: 25.7 kB / 1.09 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.248e-05/1.289, allocations: 85.81 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/1.289, allocations: 1.734 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.706e-05/1.289, allocations: 12.55 kB / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.342e-05/1.289, allocations: 316 kB / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.28e-05/1.289, allocations: 10.58 kB / 1.091 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.183e-05/1.289, allocations: 6.859 kB / 1.091 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.585e-05/1.289, allocations: 21.55 kB / 1.091 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.289, allocations: 0.8438 kB / 1.091 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001034/1.289, allocations: 46.83 kB / 1.091 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/1.289, allocations: 9.547 kB / 1.091 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/1.289, allocations: 3.938 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/1.289, allocations: 0.875 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.042e-05/1.289, allocations: 4.625 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/1.289, allocations: 0 / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.276e-05/1.289, allocations: 3.203 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/1.289, allocations: 5.375 kB / 1.091 GB, free: 2.883 MB / 0.8575 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.26e-05/1.289, allocations: 112.1 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.017e-05/1.289, allocations: 9.078 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.242e-05/1.289, allocations: 8.734 kB / 1.091 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/1.289, allocations: 0 / 1.091 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/1.289, allocations: 1.547 kB / 1.091 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/1.29, allocations: 0 / 1.091 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.274e-05/1.29, allocations: 157.9 kB / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/1.29, allocations: 0 / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.902e-05/1.29, allocations: 4.75 kB / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/1.29, allocations: 0.7969 kB / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/1.29, allocations: 9.125 kB / 1.091 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/1.29, allocations: 0 / 1.091 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.29, allocations: 8.547 kB / 1.091 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/1.29, allocations: 68.14 kB / 1.091 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.675e-05/1.29, allocations: 78.84 kB / 1.091 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/1.29, allocations: 4.734 kB / 1.091 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.891e-05/1.29, allocations: 2.828 kB / 1.091 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.913e-05/1.29, allocations: 1.547 kB / 1.091 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/1.29, allocations: 4.969 kB / 1.091 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.433e-05/1.29, allocations: 85.64 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.29, allocations: 0 / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001796/1.29, allocations: 3 kB / 1.092 GB, free: 2.293 MB / 0.8575 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.0001189/1.29, allocations: 103 kB / 1.092 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001383/1.29, allocations: 17.84 kB / 1.092 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.29, allocations: 64 / 1.092 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.244e-05/1.29, allocations: 15.28 kB / 1.092 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/1.291, allocations: 2.75 kB / 1.092 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003558/1.291, allocations: 104 kB / 1.092 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001601/1.291, allocations: 0.6745 MB / 1.092 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.544e-05/1.291, allocations: 1.859 kB / 1.092 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.648e-05/1.291, allocations: 7.438 kB / 1.092 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/1.291, allocations: 1.25 kB / 1.092 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of Templates: time 0.00256/1.294, allocations: 281.5 kB / 1.093 GB, free: 1.32 MB / 0.8575 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