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.001501/0.001501, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00199/0.00199, allocations: 188.3 kB / 16.13 MB, free: 6.645 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.406/1.406, allocations: 222.9 MB / 239.8 MB, free: 4.566 MB / 190.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.523/2.523, allocations: 437 MB / 0.7099 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 67.89 kB / 0.8686 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7152/0.7164, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.002019/0.7185, allocations: 0.6796 MB / 1.017 GB, free: 2.07 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008278/0.7193, allocations: 0.804 MB / 1.018 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.436e-05/0.7194, allocations: 0 / 1.018 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.822e-05/0.7194, allocations: 0 / 1.018 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.324e-05/0.7195, allocations: 11.92 kB / 1.018 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001439/0.7196, allocations: 4 kB / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.545e-05/0.7197, allocations: 15.94 kB / 1.018 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.346e-05/0.7197, allocations: 7.969 kB / 1.018 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.703e-05/0.7198, allocations: 11.94 kB / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.275e-05/0.7199, allocations: 4 kB / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.7199, allocations: 0 / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.178e-05/0.7199, allocations: 4 kB / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.741e-05/0.7199, allocations: 7.984 kB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.666e-05/0.72, allocations: 3.938 kB / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.819e-05/0.72, allocations: 27.84 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.7201, allocations: 0 / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.91e-07/0.7201, allocations: 0 / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.7201, allocations: 0 / 1.018 GB, free: 1.156 MB / 0.7637 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.0003993/0.7205, allocations: 333.5 kB / 1.018 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.7205, allocations: 8.031 kB / 1.018 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.23e-05/0.7206, allocations: 4.844 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.7207, allocations: 164.4 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.7207, allocations: 384 / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.7207, allocations: 384 / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.7208, allocations: 38.25 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.513e-06/0.7208, allocations: 192 / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.7209, allocations: 3.938 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.7209, allocations: 4 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.567e-05/0.7209, allocations: 11.98 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001603/0.7211, allocations: 157.6 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.449e-05/0.7212, allocations: 30.55 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.302e-05/0.7212, allocations: 12.91 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.7213, allocations: 3.984 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.7213, allocations: 34.56 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.7213, allocations: 0 / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0002151/0.7215, allocations: 61.55 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.7216, allocations: 51.41 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.926e-05/0.7216, allocations: 101.9 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.7217, allocations: 25.7 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.531e-05/0.7217, allocations: 88.12 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.7217, allocations: 8.031 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.7218, allocations: 13.72 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.7219, allocations: 310.8 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.135e-05/0.7219, allocations: 7.984 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.109e-05/0.722, allocations: 8 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.258e-05/0.7221, allocations: 20.84 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.7221, allocations: 4.062 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001045/0.7222, allocations: 53.56 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.7222, allocations: 4 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.7222, allocations: 3.938 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.7222, allocations: 0 / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.611e-05/0.7223, allocations: 7.984 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.7223, allocations: 0 / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.236e-05/0.7224, allocations: 4.188 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.7224, allocations: 4 kB / 1.02 GB, free: 15.38 MB / 0.7794 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 6.315e-05/0.7224, allocations: 109.9 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.674e-06/0.7224, allocations: 0 / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.355e-05/0.7225, allocations: 19.06 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.7225, allocations: 3.984 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.7225, allocations: 0 / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.7225, allocations: 0 / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.7226, allocations: 153.7 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.7226, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.617e-05/0.7227, allocations: 4 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.7227, allocations: 4 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.7227, allocations: 3.938 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.7227, allocations: 0 / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.7227, allocations: 0 / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.7228, allocations: 73.05 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.506e-05/0.7229, allocations: 85.02 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.7229, allocations: 3.938 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.737e-05/0.7229, allocations: 4.031 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.252e-05/0.723, allocations: 7.922 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.723, allocations: 4 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.378e-05/0.723, allocations: 79.28 kB / 1.02 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.723, allocations: 0 / 1.02 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000179/0.7232, allocations: 4 kB / 1.02 GB, free: 14.73 MB / 0.7794 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.0001438/0.7234, allocations: 103.2 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001256/0.7235, allocations: 15.98 kB / 1.02 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.7235, allocations: 0 / 1.02 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.15e-05/0.7236, allocations: 19.92 kB / 1.02 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.7237, allocations: 4.25 kB / 1.02 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002972/0.724, allocations: 112.4 kB / 1.02 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.7243, allocations: 0.6733 MB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.467e-05/0.7244, allocations: 4 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.703e-05/0.7244, allocations: 11.42 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of SimCode: time 5.71e-07/0.7244, allocations: 0 / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of Templates: time 0.002222/0.7266, allocations: 250.6 kB / 1.021 GB, free: 13.5 MB / 0.7794 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=480 -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/jenkins/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