Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.Exp,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="Buildings_11_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.006786/0.006786, allocations: 97.16 kB / 15.73 MB, free: 6.055 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.001891/0.001891, allocations: 193.2 kB / 16.67 MB, free: 5.969 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.4 MB, free: 4.168 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.595/2.595, allocations: 469.8 MB / 0.7425 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 72.11 kB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2845, allocations: 159.1 MB / 1.22 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001743/0.2863, allocations: 0.6673 MB / 1.221 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008693/0.2872, allocations: 0.7979 MB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.145e-05/0.2873, allocations: 0 / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.611e-05/0.2873, allocations: 0 / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.763e-05/0.2874, allocations: 3.938 kB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001292/0.2875, allocations: 15.97 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.754e-05/0.2876, allocations: 23.94 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.525e-05/0.2877, allocations: 7.984 kB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.702e-05/0.2877, allocations: 11.94 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.706e-05/0.2878, allocations: 3.984 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.2878, allocations: 4 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.494e-06/0.2878, allocations: 0 / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/0.2878, allocations: 11.94 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.152e-05/0.2878, allocations: 4 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.561e-05/0.2879, allocations: 27.88 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2879, allocations: 0 / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.463e-06/0.288, allocations: 4 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.288, allocations: 0 / 1.222 GB, free: 12.61 MB / 0.9825 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.0004438/0.2884, allocations: 341.7 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.2885, allocations: 8.031 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.227e-05/0.2885, allocations: 30.75 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.246e-05/0.2885, allocations: 8.891 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.2886, allocations: 164.3 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.2887, allocations: 4.312 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.2887, allocations: 8.375 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.2888, allocations: 50.22 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.2889, allocations: 3.938 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.2889, allocations: 8 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.2889, allocations: 3.938 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.2891, allocations: 31.95 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000315/0.2894, allocations: 245 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.2895, allocations: 46.48 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.743e-05/0.2896, allocations: 24.84 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.2896, allocations: 0 / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.2897, allocations: 30.56 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.2897, allocations: 4 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003366/0.29, allocations: 81.64 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.2901, allocations: 55.34 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.933e-05/0.2902, allocations: 101.9 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.2902, allocations: 25.7 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.635e-05/0.2902, allocations: 92.02 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.474e-05/0.2902, allocations: 8.078 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.2903, allocations: 17.72 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.2904, allocations: 310.8 kB / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.812e-05/0.2905, allocations: 11.98 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.569e-05/0.2906, allocations: 23.97 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.2907, allocations: 36.89 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.2907, allocations: 3.938 kB / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000187/0.2909, allocations: 69.59 kB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.291, allocations: 4 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.291, allocations: 4 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.291, allocations: 0 / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.723e-05/0.2911, allocations: 7.984 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.2911, allocations: 0 / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.383e-05/0.2911, allocations: 8.031 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-06/0.2911, allocations: 0 / 1.224 GB, free: 10.54 MB / 0.9825 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.008e-05/0.2912, allocations: 121.8 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.983e-05/0.2912, allocations: 0 / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000215/0.2915, allocations: 68.78 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.2915, allocations: 0 / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2915, allocations: 4.031 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2915, allocations: 0 / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.2917, allocations: 161.6 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.2917, allocations: 0 / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.618e-05/0.2917, allocations: 19.86 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2917, allocations: 0 / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.2917, allocations: 0 / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2918, allocations: 0 / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.2918, allocations: 0 / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.292, allocations: 167.4 kB / 1.224 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.859e-05/0.292, allocations: 77.11 kB / 1.224 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.2921, allocations: 3.984 kB / 1.224 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.504e-05/0.2921, allocations: 12 kB / 1.224 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.372e-05/0.2922, allocations: 4 kB / 1.224 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.84e-06/0.2922, allocations: 3.984 kB / 1.224 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.347e-05/0.2922, allocations: 83.5 kB / 1.224 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.2922, allocations: 0 / 1.224 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002026/0.2925, allocations: 4 kB / 1.224 GB, free: 9.723 MB / 0.9825 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.0005736/0.293, allocations: 0.6992 MB / 1.225 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002075/0.2932, allocations: 39.95 kB / 1.225 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2933, allocations: 3.938 kB / 1.225 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.366e-05/0.2933, allocations: 23.92 kB / 1.225 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.2936, allocations: 144 / 1.225 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003785/0.294, allocations: 143.1 kB / 1.225 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.2943, allocations: 0.6768 MB / 1.226 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.227e-05/0.2943, allocations: 4 kB / 1.226 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.471e-05/0.2944, allocations: 7.438 kB / 1.226 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.2944, allocations: 0 / 1.226 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7193/1.014, allocations: 1.27 MB / 1.227 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.75, allocations: 13.39 kB / 1.227 GB, free: 6.836 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Exp_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Exp.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches