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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001561/0.001561, allocations: 108 kB / 16.37 MB, free: 6.477 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.001707/0.001707, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.398/1.398, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.52/2.52, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002376/0.002377, allocations: 63.83 kB / 0.8774 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3024, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001898/0.3044, allocations: 0.6727 MB / 1.027 GB, free: 1.379 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009378/0.3053, allocations: 0.8142 MB / 1.028 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.263e-05/0.3054, allocations: 0 / 1.028 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.874e-05/0.3054, allocations: 3.938 kB / 1.028 GB, free: 0.5508 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.931e-05/0.3055, allocations: 7.922 kB / 1.028 GB, free: 0.543 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001276/0.3056, allocations: 4 kB / 1.028 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.666e-05/0.3057, allocations: 27.92 kB / 1.028 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.16e-05/0.3058, allocations: 8 kB / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.482e-05/0.3058, allocations: 7.984 kB / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.835e-05/0.3059, allocations: 11.92 kB / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.3059, allocations: 4 kB / 1.028 GB, free: 492 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.945e-06/0.3059, allocations: 0 / 1.028 GB, free: 492 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.744e-05/0.3059, allocations: 7.984 kB / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.638e-05/0.306, allocations: 11.94 kB / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.314e-05/0.306, allocations: 19.91 kB / 1.028 GB, free: 452 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.306, allocations: 3.938 kB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3061, allocations: 4 kB / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.3061, allocations: 0 / 1.028 GB, free: 444 kB / 0.795 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.0004305/0.3065, allocations: 340.7 kB / 1.029 GB, free: 52 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.3065, allocations: 8.031 kB / 1.029 GB, free: 44 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.664e-05/0.3066, allocations: 4.844 kB / 1.029 GB, free: 40 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.3067, allocations: 168.4 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.3067, allocations: 4.359 kB / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.3067, allocations: 384 / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.3069, allocations: 54.23 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.3069, allocations: 192 / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.3069, allocations: 3.938 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.3069, allocations: 0 / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001665/0.3071, allocations: 31.97 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003088/0.3074, allocations: 248.9 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.3076, allocations: 42.5 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.861e-05/0.3076, allocations: 20.91 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.3077, allocations: 4 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.3077, allocations: 30.56 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3077, allocations: 0 / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003268/0.308, allocations: 93.52 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.3081, allocations: 51.41 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.922e-05/0.3081, allocations: 97.84 kB / 1.029 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.3082, allocations: 25.7 kB / 1.029 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.059e-05/0.3082, allocations: 88.12 kB / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.546e-05/0.3082, allocations: 7.906 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.3083, allocations: 9.719 kB / 1.03 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.3084, allocations: 327 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.454e-05/0.3085, allocations: 11.98 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.416e-05/0.3085, allocations: 15.98 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.3087, allocations: 40.81 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.3087, allocations: 4 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001717/0.3089, allocations: 77.45 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.3089, allocations: 4 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3089, allocations: 0 / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.3089, allocations: 0 / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.037e-05/0.309, allocations: 11.98 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.309, allocations: 0 / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.592e-05/0.3091, allocations: 7.984 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.3091, allocations: 4.031 kB / 1.03 GB, free: 14.41 MB / 0.8106 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.75e-05/0.3091, allocations: 117.7 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.3092, allocations: 4 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002005/0.3094, allocations: 68.72 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3094, allocations: 0 / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3094, allocations: 0 / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3094, allocations: 0 / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.3096, allocations: 173.6 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3096, allocations: 0 / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.427e-05/0.3096, allocations: 7.984 kB / 1.03 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.3096, allocations: 0 / 1.03 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.291e-06/0.3096, allocations: 0 / 1.03 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.3096, allocations: 4 kB / 1.03 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3096, allocations: 0 / 1.03 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.3099, allocations: 167.5 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.931e-05/0.3099, allocations: 84.95 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.3099, allocations: 0 / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.198e-05/0.31, allocations: 7.984 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.31, allocations: 4.188 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.31, allocations: 0 / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.409e-05/0.3101, allocations: 83.27 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3101, allocations: 0 / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002075/0.3103, allocations: 11.97 kB / 1.031 GB, free: 13.58 MB / 0.8106 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.0001346/0.3105, allocations: 107.2 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000192/0.3107, allocations: 31.97 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3107, allocations: 0 / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.539e-05/0.3107, allocations: 19.98 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.311, allocations: 12.05 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003131/0.3113, allocations: 114 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/0.3116, allocations: 0.6729 MB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.056e-05/0.3116, allocations: 0 / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.616e-05/0.3116, allocations: 15.42 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.3116, allocations: 0 / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of Templates: time 0.002412/0.314, allocations: 436.4 kB / 1.032 GB, free: 12.13 MB / 0.8106 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 -s gbode -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