Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001918/0.001918, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001791/0.001791, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.377/1.377, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.638/2.638, allocations: 469.8 MB / 0.7424 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00256/0.00256, allocations: 71.09 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2741, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002146/0.2763, allocations: 0.8884 MB / 1.065 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.2774, allocations: 0.8953 MB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.268e-05/0.2775, allocations: 0 / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.361e-05/0.2775, allocations: 15.8 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.481e-05/0.2776, allocations: 7.875 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001803/0.2778, allocations: 67.91 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000185/0.278, allocations: 131.7 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.2782, allocations: 61.45 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.925e-05/0.2783, allocations: 55.77 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.627e-05/0.2783, allocations: 59.75 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.457e-05/0.2784, allocations: 15.94 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.372e-05/0.2784, allocations: 12 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.044e-05/0.2784, allocations: 23.92 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.494e-05/0.2785, allocations: 67.66 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.2787, allocations: 135.5 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2787, allocations: 0 / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2787, allocations: 0 / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.2787, allocations: 3.938 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005997/0.2793, allocations: 443.4 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.2793, allocations: 16.03 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.078e-05/0.2794, allocations: 42.75 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/0.2794, allocations: 16.75 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.2797, allocations: 204.8 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.2797, allocations: 12.38 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.2797, allocations: 12.38 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003161/0.28, allocations: 150.6 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.28, allocations: 3.938 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.2801, allocations: 11.98 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.2801, allocations: 4 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000289/0.2804, allocations: 131.9 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007301/0.2811, allocations: 496 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.2813, allocations: 90.42 kB / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.2814, allocations: 44.83 kB / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.2815, allocations: 3.984 kB / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.2815, allocations: 38.56 kB / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.2815, allocations: 3.938 kB / 1.068 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0004488/0.282, allocations: 157.7 kB / 1.068 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.282, allocations: 51.41 kB / 1.068 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.2822, allocations: 195.4 kB / 1.069 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.2822, allocations: 29.7 kB / 1.069 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.186e-05/0.2823, allocations: 116 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.2823, allocations: 35.45 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.943e-05/0.2824, allocations: 29.7 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.2825, allocations: 326.8 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.2827, allocations: 39.97 kB / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.2828, allocations: 40.86 kB / 1.069 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.283, allocations: 101.6 kB / 1.069 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.283, allocations: 4.312 kB / 1.069 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002997/0.2833, allocations: 146.7 kB / 1.069 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.2833, allocations: 4 kB / 1.069 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.2834, allocations: 0 / 1.069 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.2834, allocations: 3.938 kB / 1.069 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.2835, allocations: 23.98 kB / 1.069 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.2835, allocations: 7.938 kB / 1.069 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.172e-05/0.2836, allocations: 15.83 kB / 1.069 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.2837, allocations: 8 kB / 1.069 GB, free: 8.52 MB / 0.8262 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 (13): * Single equations (assignments): 13 * 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 9.243e-05/0.2838, allocations: 121.8 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.963e-05/0.2838, allocations: 15.81 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003271/0.2841, allocations: 139 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.2841, allocations: 0 / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.2842, allocations: 11.98 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2842, allocations: 0 / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005634/0.2847, allocations: 448.9 kB / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.2847, allocations: 3.984 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.2848, allocations: 23.92 kB / 1.07 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.2849, allocations: 4 kB / 1.07 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.2849, allocations: 4 kB / 1.07 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.2849, allocations: 4 kB / 1.07 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2849, allocations: 0 / 1.07 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003256/0.2852, allocations: 249.9 kB / 1.07 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.911e-05/0.2853, allocations: 88.92 kB / 1.07 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.2853, allocations: 11.94 kB / 1.07 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.2854, allocations: 19.97 kB / 1.07 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.2855, allocations: 11.94 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.2855, allocations: 4 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00011/0.2856, allocations: 149.1 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2856, allocations: 0 / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002362/0.2859, allocations: 20 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0006381/0.2865, allocations: 0.7813 MB / 1.071 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002821/0.2868, allocations: 103.9 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2868, allocations: 0 / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.2869, allocations: 51.91 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.2872, allocations: 17.66 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/0.2894, allocations: 1.883 MB / 1.073 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.2897, allocations: 0.7084 MB / 1.074 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.556e-05/0.2897, allocations: 13.08 kB / 1.074 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.979e-05/0.2898, allocations: 43.42 kB / 1.074 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.2898, allocations: 0 / 1.074 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8033/1.093, allocations: 2.754 MB / 1.077 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/11.52, allocations: 9.047 kB / 1.077 GB, free: 0.6406 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Line_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Line.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches