Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_10_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_10_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.001082/0.001082, allocations: 100.9 kB / 16.35 MB, free: 6.285 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.00106/0.00106, allocations: 196.2 kB / 17.29 MB, free: 5.863 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.427/1.427, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.397/2.397, allocations: 437.1 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 63.91 kB / 0.8707 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3077, allocations: 151.6 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001881/0.3097, allocations: 0.6612 MB / 1.019 GB, free: 9.203 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008219/0.3105, allocations: 0.8195 MB / 1.02 GB, free: 8.371 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.015e-05/0.3105, allocations: 0 / 1.02 GB, free: 8.371 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.54e-05/0.3106, allocations: 0 / 1.02 GB, free: 8.371 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.366e-05/0.3106, allocations: 7.938 kB / 1.02 GB, free: 8.363 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001281/0.3108, allocations: 11.92 kB / 1.02 GB, free: 8.352 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.978e-05/0.3109, allocations: 23.92 kB / 1.02 GB, free: 8.328 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.895e-05/0.311, allocations: 8 kB / 1.02 GB, free: 8.32 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.566e-05/0.311, allocations: 11.92 kB / 1.02 GB, free: 8.309 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.154e-05/0.3111, allocations: 15.98 kB / 1.02 GB, free: 8.293 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.3111, allocations: 0 / 1.02 GB, free: 8.293 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.054e-05/0.3111, allocations: 4 kB / 1.02 GB, free: 8.289 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.796e-05/0.3111, allocations: 7.938 kB / 1.02 GB, free: 8.281 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.764e-05/0.3112, allocations: 3.984 kB / 1.02 GB, free: 8.277 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 6.966e-05/0.3112, allocations: 19.91 kB / 1.02 GB, free: 8.258 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3113, allocations: 4 kB / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3113, allocations: 4 kB / 1.02 GB, free: 8.25 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.3113, allocations: 0 / 1.02 GB, free: 8.25 MB / 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.0004196/0.3117, allocations: 339.4 kB / 1.021 GB, free: 7.867 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.3117, allocations: 8.625 kB / 1.021 GB, free: 7.859 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.904e-05/0.3118, allocations: 8.844 kB / 1.021 GB, free: 7.852 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.3119, allocations: 164.4 kB / 1.021 GB, free: 7.652 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.715e-06/0.3119, allocations: 4.312 kB / 1.021 GB, free: 7.648 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.3119, allocations: 384 / 1.021 GB, free: 7.648 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.3121, allocations: 50.23 kB / 1.021 GB, free: 7.594 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.3121, allocations: 192 / 1.021 GB, free: 7.594 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.3121, allocations: 3.938 kB / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3121, allocations: 7.938 kB / 1.021 GB, free: 7.582 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.3123, allocations: 35.95 kB / 1.021 GB, free: 7.547 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003059/0.3126, allocations: 240.9 kB / 1.021 GB, free: 7.262 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.3128, allocations: 46.47 kB / 1.021 GB, free: 7.207 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.162e-05/0.3128, allocations: 24.91 kB / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.3129, allocations: 0 / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.3129, allocations: 34.56 kB / 1.021 GB, free: 7.137 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.3129, allocations: 0 / 1.021 GB, free: 7.137 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003164/0.3132, allocations: 81.62 kB / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.3133, allocations: 55.47 kB / 1.021 GB, free: 6.984 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.46e-05/0.3134, allocations: 105.8 kB / 1.022 GB, free: 6.871 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.3134, allocations: 29.7 kB / 1.022 GB, free: 6.836 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.503e-05/0.3134, allocations: 80.14 kB / 1.022 GB, free: 6.754 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/0.3134, allocations: 7.906 kB / 1.022 GB, free: 6.746 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-05/0.3135, allocations: 13.72 kB / 1.022 GB, free: 6.727 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.3136, allocations: 310.8 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.682e-05/0.3137, allocations: 19.97 kB / 1.022 GB, free: 6.395 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.56e-05/0.3137, allocations: 23.98 kB / 1.022 GB, free: 6.371 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.3139, allocations: 32.83 kB / 1.022 GB, free: 6.336 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.3139, allocations: 0 / 1.022 GB, free: 6.336 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001822/0.3141, allocations: 85.38 kB / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.3141, allocations: 8.094 kB / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.3141, allocations: 0 / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.3141, allocations: 4 kB / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.578e-05/0.3142, allocations: 7.984 kB / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3142, allocations: 0 / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.691e-05/0.3143, allocations: 7.984 kB / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.3143, allocations: 0 / 1.022 GB, free: 6.219 MB / 0.795 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 8.235e-05/0.3144, allocations: 114.7 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.3144, allocations: 0 / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002205/0.3146, allocations: 72.78 kB / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3146, allocations: 4 kB / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3146, allocations: 0 / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.3147, allocations: 0 / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.3148, allocations: 165.6 kB / 1.022 GB, free: 5.805 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.3148, allocations: 0 / 1.022 GB, free: 5.805 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.615e-05/0.3149, allocations: 11.88 kB / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3149, allocations: 4 kB / 1.022 GB, free: 5.789 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.3149, allocations: 4.031 kB / 1.022 GB, free: 5.785 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3149, allocations: 3.984 kB / 1.022 GB, free: 5.781 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3149, allocations: 0 / 1.022 GB, free: 5.781 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.3152, allocations: 159.5 kB / 1.023 GB, free: 5.609 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-05/0.3152, allocations: 81.09 kB / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.3152, allocations: 0 / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.575e-05/0.3153, allocations: 8.031 kB / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.3153, allocations: 7.984 kB / 1.023 GB, free: 5.496 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.3154, allocations: 0 / 1.023 GB, free: 5.496 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.855e-05/0.3154, allocations: 83.28 kB / 1.023 GB, free: 5.414 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3154, allocations: 0 / 1.023 GB, free: 5.414 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002178/0.3156, allocations: 3.938 kB / 1.023 GB, free: 5.41 MB / 0.795 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.0001365/0.3158, allocations: 103.2 kB / 1.023 GB, free: 5.301 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002048/0.316, allocations: 39.95 kB / 1.023 GB, free: 5.262 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.316, allocations: 0 / 1.023 GB, free: 5.262 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.821e-05/0.3161, allocations: 19.98 kB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.3164, allocations: 7.938 kB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002848/0.3167, allocations: 115.9 kB / 1.023 GB, free: 5.102 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.3169, allocations: 0.6808 MB / 1.024 GB, free: 4.395 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.168e-05/0.3169, allocations: 0 / 1.024 GB, free: 4.395 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.462e-05/0.317, allocations: 11.38 kB / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of SimCode: time 2.8e-07/0.317, allocations: 0 / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of Templates: time 0.002343/0.3193, allocations: 436.8 kB / 1.024 GB, free: 3.961 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches