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.01001/0.01001, allocations: 100.5 kB / 15.73 MB, free: 6.039 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.001561/0.001561, allocations: 186.7 kB / 16.67 MB, free: 5.969 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.464/1.464, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.563/2.563, allocations: 390.2 MB / 0.6648 GB, free: 156 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.00124, allocations: 65.47 kB / 0.9509 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3816, allocations: 140.4 MB / 1.088 GB, free: 1.449 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.001823/0.3835, allocations: 0.6219 MB / 1.089 GB, free: 0.832 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00097/0.3845, allocations: 0.8121 MB / 1.089 GB, free: 8 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.195e-05/0.3845, allocations: 0 / 1.089 GB, free: 8 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.25e-05/0.3846, allocations: 0 / 1.089 GB, free: 8 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.904e-05/0.3846, allocations: 7.922 kB / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001794/0.3848, allocations: 8.078 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.229e-05/0.3849, allocations: 15.92 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.889e-05/0.385, allocations: 4 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.3851, allocations: 19.78 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.631e-05/0.3852, allocations: 7.984 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.3852, allocations: 4 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.568e-06/0.3852, allocations: 0 / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.179e-05/0.3852, allocations: 4 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.04e-05/0.3853, allocations: 7.938 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.104e-05/0.3853, allocations: 15.91 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3854, allocations: 0 / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3854, allocations: 0 / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.3854, allocations: 0 / 1.089 GB, free: 15.91 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.0004663/0.3858, allocations: 331.5 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.3859, allocations: 8.031 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/0.3859, allocations: 8.844 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.3861, allocations: 168.4 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.3862, allocations: 384 / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.3862, allocations: 384 / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.3863, allocations: 38.25 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.3863, allocations: 192 / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.3863, allocations: 3.938 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.3863, allocations: 0 / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.634e-05/0.3864, allocations: 15.92 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001753/0.3866, allocations: 157.7 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.673e-05/0.3867, allocations: 30.59 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.141e-05/0.3867, allocations: 8.922 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.3867, allocations: 0 / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.3868, allocations: 30.56 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 9.51e-07/0.3868, allocations: 0 / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0002159/0.387, allocations: 65.55 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.387, allocations: 51.41 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.3872, allocations: 105.8 kB / 1.09 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.3872, allocations: 25.7 kB / 1.09 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.647e-05/0.3873, allocations: 80.14 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.3873, allocations: 11.84 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.14e-05/0.3874, allocations: 13.84 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002185/0.3876, allocations: 314.8 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.758e-05/0.3876, allocations: 7.984 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.121e-05/0.3877, allocations: 8 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.238e-05/0.3878, allocations: 24.78 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3878, allocations: 256 / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001072/0.3879, allocations: 57.67 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.3879, allocations: 4 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.3879, allocations: 11.92 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.3879, allocations: 0 / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.982e-05/0.388, allocations: 4 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.388, allocations: 0 / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.805e-05/0.3881, allocations: 4 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.3881, allocations: 0 / 1.091 GB, free: 14.13 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 8.368e-05/0.3882, allocations: 105.8 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-06/0.3882, allocations: 8.016 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.197e-05/0.3882, allocations: 15.06 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.3882, allocations: 0 / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3882, allocations: 0 / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.3882, allocations: 0 / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.3884, allocations: 149.7 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.3884, allocations: 0 / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.55e-05/0.3884, allocations: 4 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.3884, allocations: 0 / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.3884, allocations: 7.922 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3884, allocations: 0 / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3884, allocations: 7.938 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.3886, allocations: 73.03 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.559e-05/0.3886, allocations: 81.11 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.3886, allocations: 3.938 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.754e-05/0.3887, allocations: 3.984 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.3887, allocations: 0 / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.3887, allocations: 8.031 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.872e-05/0.3888, allocations: 79.28 kB / 1.091 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3888, allocations: 0 / 1.091 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001683/0.3889, allocations: 0 / 1.091 GB, free: 13.5 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.0001399/0.3891, allocations: 107.8 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001263/0.3892, allocations: 15.92 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.3892, allocations: 4 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.952e-05/0.3893, allocations: 8.062 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.3894, allocations: 11.88 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002949/0.3897, allocations: 110.7 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.39, allocations: 0.6768 MB / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.564e-05/0.3901, allocations: 0 / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.527e-05/0.3901, allocations: 7.438 kB / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.3901, allocations: 0 / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of Templates: time 0.002203/0.3923, allocations: 284 kB / 1.093 GB, free: 12.22 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