Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 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.Exp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",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.006024/0.006023, allocations: 101.1 kB / 15.73 MB, free: 6.469 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.00123/0.00123, allocations: 193.8 kB / 16.67 MB, free: 6.379 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.783/2.783, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 71.89 kB / 1.054 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.283, allocations: 157.4 MB / 1.207 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001917/0.285, allocations: 0.6634 MB / 1.208 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009008/0.2859, allocations: 0.7923 MB / 1.209 GB, free: 8.582 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.356e-05/0.286, allocations: 4 kB / 1.209 GB, free: 8.578 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.886e-05/0.286, allocations: 7.938 kB / 1.209 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.977e-05/0.2861, allocations: 0 / 1.209 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001491/0.2862, allocations: 7.984 kB / 1.209 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.895e-05/0.2863, allocations: 27.92 kB / 1.209 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.065e-05/0.2864, allocations: 0 / 1.209 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.345e-05/0.2865, allocations: 11.94 kB / 1.209 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.987e-05/0.2865, allocations: 15.97 kB / 1.209 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.2866, allocations: 0 / 1.209 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.685e-06/0.2866, allocations: 4 kB / 1.209 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.2866, allocations: 11.88 kB / 1.209 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.806e-05/0.2866, allocations: 11.98 kB / 1.209 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.125e-05/0.2867, allocations: 19.91 kB / 1.209 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2867, allocations: 0 / 1.209 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of FrontEnd: time 4.118e-06/0.2867, allocations: 0 / 1.209 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.395e-06/0.2868, allocations: 3.938 kB / 1.209 GB, free: 8.457 MB / 0.9669 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.0004515/0.2872, allocations: 339.7 kB / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.2873, allocations: 12.62 kB / 1.209 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.502e-05/0.2873, allocations: 30.75 kB / 1.209 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.388e-05/0.2873, allocations: 4.938 kB / 1.209 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.2874, allocations: 168.4 kB / 1.209 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.2875, allocations: 384 / 1.209 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-06/0.2875, allocations: 384 / 1.209 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.2876, allocations: 46.25 kB / 1.209 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.2877, allocations: 3.938 kB / 1.209 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.2877, allocations: 7.984 kB / 1.209 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.2877, allocations: 0 / 1.209 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.2879, allocations: 39.91 kB / 1.21 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003217/0.2882, allocations: 248.8 kB / 1.21 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.2883, allocations: 46.45 kB / 1.21 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.974e-05/0.2884, allocations: 20.91 kB / 1.21 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.2885, allocations: 4 kB / 1.21 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.2885, allocations: 34.56 kB / 1.21 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.2885, allocations: 0 / 1.21 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003698/0.2889, allocations: 85.58 kB / 1.21 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.2889, allocations: 51.41 kB / 1.21 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.589e-05/0.289, allocations: 101.8 kB / 1.21 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.289, allocations: 29.83 kB / 1.21 GB, free: 7 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.286e-05/0.2891, allocations: 80.14 kB / 1.21 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.2891, allocations: 11.89 kB / 1.21 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.2892, allocations: 13.72 kB / 1.21 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.2893, allocations: 318.8 kB / 1.211 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.11e-05/0.2893, allocations: 15.98 kB / 1.211 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.224e-05/0.2894, allocations: 11.98 kB / 1.211 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.2896, allocations: 44.83 kB / 1.211 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.2896, allocations: 3.938 kB / 1.211 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002006/0.2898, allocations: 65.66 kB / 1.211 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.2898, allocations: 4 kB / 1.211 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.2898, allocations: 0 / 1.211 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.2899, allocations: 4.031 kB / 1.211 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.808e-05/0.29, allocations: 11.98 kB / 1.211 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.29, allocations: 0 / 1.211 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.18e-05/0.29, allocations: 15.92 kB / 1.211 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.2901, allocations: 0 / 1.211 GB, free: 6.383 MB / 0.9669 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.708e-05/0.2901, allocations: 109.8 kB / 1.211 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.2902, allocations: 4 kB / 1.211 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002549/0.2904, allocations: 76.72 kB / 1.211 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2905, allocations: 0 / 1.211 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.2905, allocations: 0 / 1.211 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2905, allocations: 0 / 1.211 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.2906, allocations: 169.5 kB / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2907, allocations: 0 / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.552e-05/0.2907, allocations: 4 kB / 1.211 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.545e-05/0.2908, allocations: 3.984 kB / 1.211 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.2908, allocations: 0 / 1.211 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.2908, allocations: 7.969 kB / 1.211 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2908, allocations: 4 kB / 1.211 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.2911, allocations: 163.4 kB / 1.211 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.052e-05/0.2911, allocations: 81.11 kB / 1.211 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.2911, allocations: 0 / 1.211 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.969e-05/0.2912, allocations: 11.98 kB / 1.211 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.2913, allocations: 4.031 kB / 1.211 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.2913, allocations: 0 / 1.211 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.737e-05/0.2913, allocations: 79.28 kB / 1.211 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2913, allocations: 0 / 1.211 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002313/0.2916, allocations: 7.938 kB / 1.211 GB, free: 5.574 MB / 0.9669 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.0006263/0.2922, allocations: 0.6983 MB / 1.212 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002138/0.2924, allocations: 43.89 kB / 1.212 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2925, allocations: 0 / 1.212 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.174e-05/0.2925, allocations: 15.98 kB / 1.212 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.2928, allocations: 12.14 kB / 1.212 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004254/0.2932, allocations: 147 kB / 1.212 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.2935, allocations: 0.6729 MB / 1.213 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.603e-05/0.2935, allocations: 0 / 1.213 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.363e-05/0.2935, allocations: 11.42 kB / 1.213 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/0.2935, allocations: 4 kB / 1.213 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01663/0.3102, allocations: 1.282 MB / 1.214 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.757/8.067, allocations: 5.578 kB / 1.214 GB, free: 2.676 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Exp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Exp.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches