Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 102.5 kB / 16.27 MB, free: 6.414 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.001589/0.001589, allocations: 190 kB / 17.2 MB, free: 5.953 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.321/1.321, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.255/2.255, allocations: 390.3 MB / 0.6653 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 67.72 kB / 0.8132 GB, free: 33.05 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2865, allocations: 140.4 MB / 0.9503 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.002066/0.2886, allocations: 0.6534 MB / 0.9509 GB, free: 8.223 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009234/0.2896, allocations: 0.8216 MB / 0.9517 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.259e-05/0.2896, allocations: 0 / 0.9517 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.946e-05/0.2897, allocations: 3.938 kB / 0.9517 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.105e-05/0.2898, allocations: 0 / 0.9517 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001438/0.2899, allocations: 15.92 kB / 0.9517 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.958e-05/0.29, allocations: 23.98 kB / 0.9518 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.2901, allocations: 7.984 kB / 0.9518 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.921e-05/0.2902, allocations: 4 kB / 0.9518 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.034e-05/0.2902, allocations: 15.92 kB / 0.9518 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.2902, allocations: 7.938 kB / 0.9518 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.097e-06/0.2902, allocations: 0 / 0.9518 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.366e-05/0.2903, allocations: 0 / 0.9518 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.876e-05/0.2903, allocations: 11.94 kB / 0.9518 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.86e-05/0.2904, allocations: 23.89 kB / 0.9518 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2904, allocations: 4 kB / 0.9518 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.32e-07/0.2904, allocations: 0 / 0.9518 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.2904, allocations: 0 / 0.9518 GB, free: 7.273 MB / 0.7325 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.0004103/0.2908, allocations: 335.8 kB / 0.9522 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.2909, allocations: 16.02 kB / 0.9522 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.119e-05/0.2909, allocations: 0.9375 kB / 0.9522 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.291, allocations: 168.2 kB / 0.9523 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.2911, allocations: 8.375 kB / 0.9523 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.2911, allocations: 384 / 0.9524 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.2913, allocations: 54.23 kB / 0.9524 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.2913, allocations: 192 / 0.9524 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.2913, allocations: 3.938 kB / 0.9524 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.2913, allocations: 0 / 0.9524 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.2915, allocations: 39.89 kB / 0.9524 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003096/0.2918, allocations: 249 kB / 0.9527 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.2919, allocations: 34.5 kB / 0.9527 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.679e-05/0.292, allocations: 20.91 kB / 0.9527 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.292, allocations: 3.984 kB / 0.9527 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.2921, allocations: 34.56 kB / 0.9528 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.2921, allocations: 0 / 0.9528 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003375/0.2924, allocations: 85.58 kB / 0.9529 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.2925, allocations: 55.41 kB / 0.9529 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.987e-05/0.2925, allocations: 97.86 kB / 0.953 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.2926, allocations: 25.7 kB / 0.953 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.597e-05/0.2926, allocations: 80.14 kB / 0.9531 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.2926, allocations: 11.95 kB / 0.9531 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.03e-05/0.2927, allocations: 21.72 kB / 0.9531 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.266e-05/0.2928, allocations: 314.8 kB / 0.9534 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.499e-05/0.2928, allocations: 19.98 kB / 0.9535 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.077e-05/0.2929, allocations: 11.98 kB / 0.9535 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.2931, allocations: 48.81 kB / 0.9535 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2931, allocations: 0 / 0.9535 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001978/0.2933, allocations: 65.59 kB / 0.9536 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.2933, allocations: 8 kB / 0.9536 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2933, allocations: 0 / 0.9536 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.2933, allocations: 0 / 0.9536 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.634e-05/0.2934, allocations: 4 kB / 0.9536 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.2935, allocations: 4 kB / 0.9536 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.815e-05/0.2935, allocations: 12.02 kB / 0.9536 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-06/0.2935, allocations: 4 kB / 0.9536 GB, free: 5.246 MB / 0.7325 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.674e-05/0.2936, allocations: 109.8 kB / 0.9537 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.2936, allocations: 3.906 kB / 0.9537 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002253/0.2938, allocations: 80.7 kB / 0.9538 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.2939, allocations: 0 / 0.9538 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2939, allocations: 4.031 kB / 0.9538 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.2939, allocations: 192 / 0.9538 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.294, allocations: 157.6 kB / 0.9539 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.294, allocations: 0 / 0.9539 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.283e-05/0.2941, allocations: 15.97 kB / 0.954 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2941, allocations: 0 / 0.954 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-06/0.2941, allocations: 0 / 0.954 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.2941, allocations: 0 / 0.954 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.2941, allocations: 3.984 kB / 0.954 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.2944, allocations: 167.4 kB / 0.9541 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.704e-05/0.2944, allocations: 81.11 kB / 0.9542 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.2945, allocations: 8 kB / 0.9542 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.603e-05/0.2945, allocations: 7.984 kB / 0.9542 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.2946, allocations: 0 / 0.9542 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.2946, allocations: 0 / 0.9542 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.986e-05/0.2946, allocations: 87.3 kB / 0.9543 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.573e-06/0.2947, allocations: 0 / 0.9543 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002171/0.2949, allocations: 7.938 kB / 0.9543 GB, free: 4.426 MB / 0.7325 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.0001657/0.295, allocations: 102.1 kB / 0.9544 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000221/0.2953, allocations: 35.97 kB / 0.9544 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2953, allocations: 0 / 0.9544 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.2954, allocations: 27.97 kB / 0.9545 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.2957, allocations: 14.53 kB / 0.9545 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003156/0.296, allocations: 139.2 kB / 0.9546 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.2963, allocations: 0.6805 MB / 0.9553 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.17e-05/0.2963, allocations: 11.44 kB / 0.9553 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of SimCode: time 3.51e-07/0.2963, allocations: 0 / 0.9553 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of Templates: time 0.001784/0.2981, allocations: 0.5388 MB / 0.9558 GB, free: 2.824 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches