Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_latest_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.001395/0.001395, 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.001687/0.001687, allocations: 195.5 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.348/1.348, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.642/2.642, allocations: 461.9 MB / 0.7347 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001472, allocations: 68.09 kB / 0.8992 GB, free: 36.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2826, allocations: 157.4 MB / 1.053 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002002/0.2846, allocations: 0.8926 MB / 1.054 GB, free: 7.312 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009893/0.2856, allocations: 0.8974 MB / 1.055 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.287e-05/0.2857, allocations: 4 kB / 1.055 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.257e-05/0.2858, allocations: 15.8 kB / 1.055 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.694e-05/0.2859, allocations: 7.875 kB / 1.055 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001716/0.286, allocations: 59.91 kB / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.2862, allocations: 143.7 kB / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.2864, allocations: 61.44 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.799e-05/0.2865, allocations: 51.8 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.043e-05/0.2866, allocations: 55.73 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.03e-05/0.2866, allocations: 16 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.146e-05/0.2866, allocations: 15.94 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.106e-05/0.2867, allocations: 35.91 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.496e-05/0.2867, allocations: 55.67 kB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.2869, allocations: 139.5 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2869, allocations: 0 / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2869, allocations: 0 / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.2869, allocations: 0 / 1.055 GB, free: 5.75 MB / 0.8106 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.0005787/0.2875, allocations: 443.4 kB / 1.056 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.2875, allocations: 12.62 kB / 1.056 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.433e-05/0.2876, allocations: 46.73 kB / 1.056 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.167e-05/0.2876, allocations: 16.75 kB / 1.056 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.2878, allocations: 208.1 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.2879, allocations: 8.375 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.2879, allocations: 16.38 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003052/0.2882, allocations: 146.1 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2882, allocations: 3.938 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.2882, allocations: 4 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.361e-06/0.2882, allocations: 8 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002819/0.2885, allocations: 131.9 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006608/0.2892, allocations: 488 kB / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.2894, allocations: 94.41 kB / 1.057 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.2895, allocations: 44.83 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.2895, allocations: 4 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.2896, allocations: 34.56 kB / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 2.275e-06/0.2896, allocations: 0 / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.000422/0.29, allocations: 161.9 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.29, allocations: 55.41 kB / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.2902, allocations: 191.5 kB / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.2902, allocations: 29.8 kB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.202e-05/0.2903, allocations: 127.7 kB / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.2903, allocations: 39.45 kB / 1.058 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.624e-05/0.2904, allocations: 21.72 kB / 1.058 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.909e-05/0.2905, allocations: 326.8 kB / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.2906, allocations: 43.97 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.2907, allocations: 43.47 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.2909, allocations: 96.75 kB / 1.058 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.2909, allocations: 7.938 kB / 1.058 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002803/0.2912, allocations: 141.6 kB / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.2912, allocations: 7.984 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.2912, allocations: 0 / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.2913, allocations: 0 / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.2914, allocations: 31.92 kB / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.2914, allocations: 0 / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.381e-05/0.2915, allocations: 19.75 kB / 1.058 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.2915, allocations: 7.984 kB / 1.058 GB, free: 2.516 MB / 0.8106 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 7.659e-05/0.2916, allocations: 125.8 kB / 1.058 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.46e-05/0.2917, allocations: 11.91 kB / 1.058 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003056/0.292, allocations: 139 kB / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.292, allocations: 0 / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.292, allocations: 0 / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.292, allocations: 0 / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00051/0.2925, allocations: 464.7 kB / 1.059 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2925, allocations: 0 / 1.059 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.2926, allocations: 19.98 kB / 1.059 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.2926, allocations: 4 kB / 1.059 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.2927, allocations: 0 / 1.059 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2927, allocations: 0 / 1.059 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.2927, allocations: 7.984 kB / 1.059 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002913/0.293, allocations: 245.9 kB / 1.059 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.38e-05/0.293, allocations: 93.09 kB / 1.059 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.293, allocations: 0 / 1.059 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.2932, allocations: 31.86 kB / 1.059 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.2932, allocations: 19.84 kB / 1.059 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.2932, allocations: 4 kB / 1.059 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.254e-05/0.2933, allocations: 144.1 kB / 1.059 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2933, allocations: 0 / 1.059 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002332/0.2936, allocations: 20 kB / 1.059 GB, free: 1.086 MB / 0.8106 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.0005705/0.2942, allocations: 0.7739 MB / 1.06 GB, free: 284 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002812/0.2945, allocations: 107.9 kB / 1.06 GB, free: 176 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2945, allocations: 4 kB / 1.06 GB, free: 172 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.2946, allocations: 47.91 kB / 1.06 GB, free: 124 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.2949, allocations: 16.97 kB / 1.06 GB, free: 108 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.2969, allocations: 1.882 MB / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.2972, allocations: 0.7084 MB / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.92e-05/0.2972, allocations: 13.08 kB / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.82e-05/0.2973, allocations: 39.42 kB / 1.063 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.2973, allocations: 0 / 1.063 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.256/1.553, allocations: 2.783 MB / 1.066 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.312/8.865, allocations: 0.5938 kB / 1.066 GB, free: 10.63 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Line_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Line.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches