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.001611/0.001611, allocations: 101.5 kB / 16.27 MB, free: 5.969 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.001746/0.001746, allocations: 191.9 kB / 17.2 MB, free: 5.594 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.501/1.501, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.696/2.696, allocations: 469.4 MB / 0.7427 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 72.8 kB / 0.9088 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3084, allocations: 159.1 MB / 1.064 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002416/0.3108, allocations: 0.6594 MB / 1.065 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.3121, allocations: 0.8157 MB / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.434e-05/0.3122, allocations: 4 kB / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.073e-05/0.3122, allocations: 0 / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.189e-05/0.3123, allocations: 3.938 kB / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001581/0.3125, allocations: 7.984 kB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.1e-05/0.3126, allocations: 31.92 kB / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.3127, allocations: 7.938 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.579e-05/0.3128, allocations: 11.92 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.176e-05/0.3128, allocations: 11.94 kB / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.3129, allocations: 4 kB / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.357e-06/0.3129, allocations: 0 / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.761e-05/0.3129, allocations: 11.97 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.191e-05/0.3129, allocations: 11.94 kB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 7.842e-05/0.313, allocations: 15.97 kB / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.313, allocations: 0 / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.797e-06/0.313, allocations: 0 / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.313, allocations: 3.938 kB / 1.066 GB, free: 13.39 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.000466/0.3135, allocations: 335.8 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.644e-05/0.3136, allocations: 8.625 kB / 1.066 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.3136, allocations: 8.844 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.3138, allocations: 164.4 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.3138, allocations: 384 / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.3138, allocations: 4.359 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.314, allocations: 46.25 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.314, allocations: 4.125 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.314, allocations: 3.938 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.314, allocations: 0 / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001778/0.3142, allocations: 43.94 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/0.3146, allocations: 244.9 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.3148, allocations: 42.53 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.332e-05/0.3149, allocations: 20.91 kB / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.326e-05/0.3149, allocations: 8 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.315, allocations: 30.56 kB / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.315, allocations: 0 / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0003729/0.3153, allocations: 85.58 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.3154, allocations: 51.41 kB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.198e-05/0.3155, allocations: 97.97 kB / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.3155, allocations: 33.7 kB / 1.067 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.756e-05/0.3156, allocations: 84.05 kB / 1.067 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.3156, allocations: 4 kB / 1.067 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.3156, allocations: 9.719 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.3157, allocations: 318.8 kB / 1.067 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.246e-05/0.3158, allocations: 15.97 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.568e-05/0.3159, allocations: 19.98 kB / 1.067 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.3161, allocations: 36.83 kB / 1.067 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3161, allocations: 0 / 1.067 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002068/0.3163, allocations: 77.44 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3163, allocations: 4 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.3163, allocations: 3.938 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.3163, allocations: 4.094 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.3165, allocations: 11.98 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.3165, allocations: 0 / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.123e-05/0.3165, allocations: 7.984 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.3165, allocations: 0 / 1.068 GB, free: 11.38 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 7.719e-05/0.3166, allocations: 113.8 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.3167, allocations: 4 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002345/0.3169, allocations: 72.72 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3169, allocations: 0 / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3169, allocations: 0 / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3169, allocations: 0 / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.3171, allocations: 169.5 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3171, allocations: 4 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.662e-05/0.3172, allocations: 4 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3172, allocations: 0 / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.3172, allocations: 11.98 kB / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3172, allocations: 4.031 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.3172, allocations: 4 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.3174, allocations: 155.5 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.586e-05/0.3175, allocations: 85.02 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.3175, allocations: 0 / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.3176, allocations: 11.97 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.3177, allocations: 7.984 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.3177, allocations: 0 / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.555e-05/0.3177, allocations: 79.28 kB / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3177, allocations: 0 / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002219/0.3179, allocations: 7.938 kB / 1.068 GB, free: 10.55 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.0001574/0.3181, allocations: 99.78 kB / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002234/0.3183, allocations: 47.95 kB / 1.068 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3183, allocations: 0 / 1.068 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.659e-05/0.3184, allocations: 15.98 kB / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.3187, allocations: 3.938 kB / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003831/0.3191, allocations: 139.8 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.3194, allocations: 0.6808 MB / 1.069 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.948e-05/0.3194, allocations: 11.44 kB / 1.069 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of SimCode: time 3.8e-07/0.3194, allocations: 0 / 1.069 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of Templates: time 0.001956/0.3214, allocations: 0.5446 MB / 1.07 GB, free: 8.953 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