Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001182/0.001182, allocations: 108.2 kB / 15.99 MB, free: 6.348 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.001179/0.001179, allocations: 195.2 kB / 16.91 MB, free: 6.184 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.326/1.326, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.592/2.592, allocations: 469.8 MB / 0.7427 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 64.42 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3156, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.002042/0.3177, allocations: 0.6664 MB / 1.065 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.3187, allocations: 0.8118 MB / 1.066 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.782e-05/0.3188, allocations: 0 / 1.066 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.17e-05/0.3188, allocations: 3.938 kB / 1.066 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.215e-05/0.3189, allocations: 0 / 1.066 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001493/0.319, allocations: 15.97 kB / 1.066 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.108e-05/0.3191, allocations: 11.94 kB / 1.066 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.635e-05/0.3192, allocations: 4 kB / 1.066 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.153e-05/0.3193, allocations: 19.92 kB / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.066e-05/0.3193, allocations: 11.94 kB / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.3193, allocations: 0 / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.193e-06/0.3194, allocations: 3.938 kB / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.3194, allocations: 7.938 kB / 1.066 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.316e-05/0.3194, allocations: 7.984 kB / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 5.437e-05/0.3195, allocations: 11.97 kB / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3195, allocations: 0 / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3195, allocations: 0 / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.3195, allocations: 0 / 1.066 GB, free: 13.51 MB / 0.8419 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.0004281/0.3199, allocations: 327.8 kB / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.32, allocations: 12.03 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.184e-05/0.32, allocations: 4.844 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.3202, allocations: 164.4 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.3202, allocations: 384 / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/0.3202, allocations: 4.375 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.3203, allocations: 34.2 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.3203, allocations: 192 / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.3203, allocations: 11.92 kB / 1.066 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.3204, allocations: 4 kB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.34e-05/0.3204, allocations: 11.94 kB / 1.066 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001786/0.3206, allocations: 153.7 kB / 1.066 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.168e-05/0.3207, allocations: 22.59 kB / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.32e-05/0.3207, allocations: 12.92 kB / 1.066 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.3208, allocations: 4 kB / 1.066 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.3208, allocations: 42.55 kB / 1.066 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 2.725e-06/0.3208, allocations: 3.984 kB / 1.066 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0002123/0.321, allocations: 57.56 kB / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.3211, allocations: 51.41 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.363e-05/0.3212, allocations: 101.8 kB / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.3212, allocations: 29.7 kB / 1.067 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.018e-05/0.3212, allocations: 80.14 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.3213, allocations: 8.031 kB / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.3213, allocations: 13.72 kB / 1.067 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3214, allocations: 318.8 kB / 1.067 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.527e-05/0.3215, allocations: 4 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.533e-05/0.3215, allocations: 4 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.412e-05/0.3216, allocations: 20.84 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3216, allocations: 4.062 kB / 1.067 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001041/0.3217, allocations: 53.61 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.3217, allocations: 8 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3217, allocations: 3.938 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.3218, allocations: 0 / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.471e-05/0.3218, allocations: 4 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.3218, allocations: 0 / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.748e-05/0.3219, allocations: 3.938 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.3219, allocations: 3.984 kB / 1.067 GB, free: 11.73 MB / 0.8419 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 7.678e-05/0.322, allocations: 113.9 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-06/0.322, allocations: 0 / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.017e-05/0.322, allocations: 7.062 kB / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.322, allocations: 0 / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.322, allocations: 7.938 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.322, allocations: 0 / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.3222, allocations: 149.7 kB / 1.067 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3222, allocations: 4 kB / 1.067 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.427e-05/0.3222, allocations: 3.984 kB / 1.067 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3222, allocations: 4 kB / 1.067 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.3222, allocations: 7.938 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3222, allocations: 0 / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.3222, allocations: 0 / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.3224, allocations: 72.97 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.362e-05/0.3224, allocations: 77.11 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.3224, allocations: 8.172 kB / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.805e-05/0.3225, allocations: 8.031 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.3225, allocations: 8 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-06/0.3225, allocations: 0 / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.258e-05/0.3226, allocations: 79.28 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.3226, allocations: 0 / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001712/0.3228, allocations: 4 kB / 1.068 GB, free: 11.09 MB / 0.8419 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.0001288/0.3229, allocations: 101.5 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001277/0.323, allocations: 27.92 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.323, allocations: 0 / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.34e-05/0.3231, allocations: 4 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.3232, allocations: 4 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003005/0.3235, allocations: 132.4 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.3239, allocations: 0.6729 MB / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.5e-05/0.3239, allocations: 15.56 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3239, allocations: 0 / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of Templates: time 0.001831/0.3257, allocations: 472 kB / 1.069 GB, free: 9.609 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches