Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 111.8 kB / 15.99 MB, free: 6.367 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.001971/0.001972, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.358/1.358, 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 11.0.1-master/package.mo): time 2.712/2.712, allocations: 469.4 MB / 0.7423 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 66.59 kB / 0.9083 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.309, allocations: 159.1 MB / 1.064 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.00212/0.3112, allocations: 0.7262 MB / 1.064 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009464/0.3121, allocations: 0.8118 MB / 1.065 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.567e-05/0.3122, allocations: 0 / 1.065 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.384e-05/0.3122, allocations: 0 / 1.065 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.358e-05/0.3123, allocations: 7.938 kB / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001478/0.3125, allocations: 3.984 kB / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.265e-05/0.3125, allocations: 27.88 kB / 1.065 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.3127, allocations: 15.98 kB / 1.065 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.409e-05/0.3127, allocations: 3.938 kB / 1.065 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.195e-05/0.3128, allocations: 11.98 kB / 1.065 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.3128, allocations: 7.984 kB / 1.065 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.966e-06/0.3128, allocations: 0 / 1.065 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.71e-05/0.3128, allocations: 7.938 kB / 1.065 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.715e-05/0.3129, allocations: 4 kB / 1.065 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 6.349e-05/0.3129, allocations: 23.91 kB / 1.065 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.3129, allocations: 0 / 1.065 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3129, allocations: 0 / 1.065 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.313, allocations: 4 kB / 1.065 GB, free: 13.7 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004236/0.3134, allocations: 331.8 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.3134, allocations: 12.62 kB / 1.066 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.443e-05/0.3135, allocations: 4.844 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.3136, allocations: 164.4 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.3136, allocations: 4.375 kB / 1.066 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.3136, allocations: 384 / 1.066 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.3138, allocations: 54.17 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.3138, allocations: 4.188 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.3138, allocations: 3.938 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.3138, allocations: 0 / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.314, allocations: 31.97 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003402/0.3144, allocations: 245 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.3145, allocations: 42.5 kB / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.303e-05/0.3146, allocations: 24.84 kB / 1.066 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.3146, allocations: 0 / 1.066 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.3147, allocations: 34.56 kB / 1.066 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.3147, allocations: 0 / 1.066 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0003439/0.315, allocations: 81.64 kB / 1.066 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.3151, allocations: 55.41 kB / 1.066 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.479e-05/0.3151, allocations: 105.8 kB / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.3152, allocations: 25.7 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.084e-05/0.3152, allocations: 84.05 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.629e-05/0.3152, allocations: 0 / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/0.3153, allocations: 17.72 kB / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.733e-05/0.3154, allocations: 322.9 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.212e-05/0.3155, allocations: 15.98 kB / 1.067 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.039e-05/0.3155, allocations: 15.98 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.3157, allocations: 40.81 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3157, allocations: 0 / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001886/0.3159, allocations: 69.58 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.3159, allocations: 11.94 kB / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3159, allocations: 4 kB / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.3159, allocations: 3.938 kB / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.637e-05/0.316, allocations: 7.984 kB / 1.067 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.619e-06/0.3161, allocations: 7.938 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.637e-05/0.3161, allocations: 3.984 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.3161, allocations: 4 kB / 1.067 GB, free: 11.67 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 (2): * Single equations (assignments): 2 * 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.47e-05/0.3162, allocations: 117.8 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.3162, allocations: 0 / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002224/0.3164, allocations: 72.78 kB / 1.067 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3165, allocations: 0 / 1.067 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3165, allocations: 0 / 1.067 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.3165, allocations: 0 / 1.067 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.3166, allocations: 165.6 kB / 1.067 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3166, allocations: 0 / 1.067 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.929e-05/0.3167, allocations: 11.98 kB / 1.067 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3167, allocations: 0 / 1.067 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.3167, allocations: 0 / 1.067 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3167, allocations: 0 / 1.067 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.3167, allocations: 3.938 kB / 1.067 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/0.317, allocations: 163.5 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.468e-05/0.317, allocations: 81.02 kB / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.317, allocations: 4 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.73e-05/0.3171, allocations: 11.98 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.3171, allocations: 0 / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.3172, allocations: 0 / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.314e-05/0.3172, allocations: 79.28 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3172, allocations: 0 / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002208/0.3174, allocations: 7.938 kB / 1.068 GB, free: 10.87 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 (2): * Single equations (assignments): 2 * 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.0001262/0.3176, allocations: 103.3 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002046/0.3178, allocations: 43.91 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3178, allocations: 0 / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.378e-05/0.3179, allocations: 15.98 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.3182, allocations: 12.05 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002985/0.3185, allocations: 143.9 kB / 1.068 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.3187, allocations: 0.6729 MB / 1.069 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.891e-05/0.3188, allocations: 7.438 kB / 1.069 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of SimCode: time 1.763e-06/0.3188, allocations: 0 / 1.069 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of Templates: time 0.00177/0.3205, allocations: 0.5593 MB / 1.069 GB, free: 9.25 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches