Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.002186/0.002186, allocations: 198.6 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.38/1.38, allocations: 222.9 MB / 240.6 MB, free: 15.45 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.251/2.251, allocations: 390.3 MB / 0.665 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 71.58 kB / 0.8127 GB, free: 33.24 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2832, allocations: 140.4 MB / 0.9498 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp): time 0.002207/0.2855, allocations: 0.7221 MB / 0.9505 GB, free: 8.531 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.2865, allocations: 0.8138 MB / 0.9513 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.507e-05/0.2866, allocations: 0 / 0.9513 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.144e-05/0.2866, allocations: 0 / 0.9513 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.316e-05/0.2867, allocations: 3.938 kB / 0.9513 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001405/0.2869, allocations: 4 kB / 0.9513 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.355e-05/0.2869, allocations: 19.98 kB / 0.9513 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.2871, allocations: 15.98 kB / 0.9513 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.196e-05/0.2871, allocations: 7.922 kB / 0.9513 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.942e-05/0.2872, allocations: 15.92 kB / 0.9514 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.2872, allocations: 4 kB / 0.9514 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.246e-06/0.2872, allocations: 0 / 0.9514 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.664e-05/0.2872, allocations: 4 kB / 0.9514 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.967e-05/0.2873, allocations: 11.94 kB / 0.9514 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.014e-05/0.2873, allocations: 11.97 kB / 0.9514 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2873, allocations: 0 / 0.9514 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.724e-06/0.2873, allocations: 0 / 0.9514 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.647e-06/0.2874, allocations: 4 kB / 0.9514 GB, free: 7.605 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.0004628/0.2878, allocations: 335.8 kB / 0.9517 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.2879, allocations: 12.03 kB / 0.9517 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.224e-05/0.2879, allocations: 0.9375 kB / 0.9517 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.2881, allocations: 168.2 kB / 0.9519 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.2881, allocations: 4.359 kB / 0.9519 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.2881, allocations: 8.359 kB / 0.9519 GB, free: 7 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.2883, allocations: 50.25 kB / 0.9519 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.2883, allocations: 4.125 kB / 0.9519 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.2883, allocations: 11.81 kB / 0.952 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.2883, allocations: 3.984 kB / 0.952 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.2885, allocations: 31.97 kB / 0.952 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003633/0.2889, allocations: 248.9 kB / 0.9522 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.289, allocations: 46.53 kB / 0.9523 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.357e-05/0.2891, allocations: 16.91 kB / 0.9523 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.2891, allocations: 0 / 0.9523 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.2892, allocations: 38.5 kB / 0.9523 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.2892, allocations: 0 / 0.9523 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.000358/0.2895, allocations: 81.64 kB / 0.9524 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.2896, allocations: 55.41 kB / 0.9525 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.914e-05/0.2897, allocations: 101.8 kB / 0.9526 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.2897, allocations: 25.7 kB / 0.9526 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.648e-05/0.2898, allocations: 80.14 kB / 0.9527 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.2898, allocations: 3.906 kB / 0.9527 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.2898, allocations: 17.84 kB / 0.9527 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.29, allocations: 318.8 kB / 0.953 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.167e-05/0.29, allocations: 19.98 kB / 0.953 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.902e-05/0.2901, allocations: 15.92 kB / 0.953 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.2903, allocations: 36.83 kB / 0.9531 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2903, allocations: 4.062 kB / 0.9531 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001867/0.2905, allocations: 65.59 kB / 0.9531 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.2905, allocations: 10.03 kB / 0.9531 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.2905, allocations: 0 / 0.9531 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.2905, allocations: 0 / 0.9531 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.831e-05/0.2906, allocations: 7.984 kB / 0.9531 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.2906, allocations: 0 / 0.9531 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.001e-05/0.2907, allocations: 15.98 kB / 0.9532 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.2907, allocations: 8.031 kB / 0.9532 GB, free: 5.57 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 8.554e-05/0.2908, allocations: 109.8 kB / 0.9533 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/0.2908, allocations: 7.844 kB / 0.9533 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002273/0.2911, allocations: 72.78 kB / 0.9533 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.2911, allocations: 0 / 0.9533 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2911, allocations: 0 / 0.9533 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2911, allocations: 32 / 0.9533 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.2913, allocations: 169.5 kB / 0.9535 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2913, allocations: 0 / 0.9535 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.667e-05/0.2913, allocations: 8 kB / 0.9535 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.2913, allocations: 0 / 0.9535 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.2914, allocations: 3.984 kB / 0.9535 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.2914, allocations: 0 / 0.9535 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2914, allocations: 0 / 0.9535 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.2916, allocations: 175.3 kB / 0.9537 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.446e-05/0.2917, allocations: 77.11 kB / 0.9538 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.2917, allocations: 4 kB / 0.9538 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.334e-05/0.2918, allocations: 4 kB / 0.9538 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.2918, allocations: 4.172 kB / 0.9538 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.2918, allocations: 0 / 0.9538 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.881e-05/0.2919, allocations: 83.27 kB / 0.9538 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2919, allocations: 0 / 0.9538 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002318/0.2921, allocations: 12.03 kB / 0.9539 GB, free: 4.754 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.0001439/0.2922, allocations: 99.25 kB / 0.954 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002097/0.2925, allocations: 35.95 kB / 0.954 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2925, allocations: 3.938 kB / 0.954 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.749e-05/0.2926, allocations: 15.98 kB / 0.954 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.2929, allocations: 18.67 kB / 0.954 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003077/0.2932, allocations: 131.2 kB / 0.9541 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.2934, allocations: 0.6805 MB / 0.9548 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.022e-05/0.2935, allocations: 11.44 kB / 0.9548 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of SimCode: time 4.01e-07/0.2935, allocations: 0 / 0.9548 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of Templates: time 0.00176/0.2953, allocations: 0.5464 MB / 0.9554 GB, free: 3.156 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches