Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.Log,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Log,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Log",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.001281/0.001281, allocations: 108 kB / 15.61 MB, free: 152 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.001303/0.001303, allocations: 197 kB / 16.53 MB, free: 6.664 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.357/1.357, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.624/2.624, allocations: 461.9 MB / 0.7346 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002291/0.002291, allocations: 70.56 kB / 0.8992 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2928, allocations: 157.4 MB / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001795/0.2946, allocations: 0.6592 MB / 1.054 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007512/0.2954, allocations: 0.8118 MB / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.789e-05/0.2954, allocations: 0 / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.354e-05/0.2955, allocations: 0 / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.541e-05/0.2955, allocations: 7.938 kB / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001146/0.2957, allocations: 7.984 kB / 1.054 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.448e-05/0.2957, allocations: 19.88 kB / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.451e-05/0.2958, allocations: 15.97 kB / 1.054 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.965e-05/0.2959, allocations: 8 kB / 1.054 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.309e-05/0.2959, allocations: 11.92 kB / 1.054 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.2959, allocations: 4 kB / 1.054 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.738e-06/0.2959, allocations: 4 kB / 1.054 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.394e-05/0.2959, allocations: 4 kB / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.256e-05/0.296, allocations: 7.938 kB / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.441e-05/0.296, allocations: 15.97 kB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.2961, allocations: 4 kB / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2961, allocations: 0 / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.2961, allocations: 0 / 1.054 GB, free: 6.715 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003584/0.2964, allocations: 337.3 kB / 1.055 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.2965, allocations: 12.62 kB / 1.055 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.21e-05/0.2965, allocations: 42.67 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.065e-05/0.2965, allocations: 8.781 kB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.08e-05/0.2966, allocations: 168.4 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.737e-06/0.2966, allocations: 384 / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.793e-06/0.2967, allocations: 4.375 kB / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.2968, allocations: 50.23 kB / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.2968, allocations: 3.938 kB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.2968, allocations: 3.938 kB / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.2968, allocations: 4 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/0.297, allocations: 35.95 kB / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002875/0.2973, allocations: 244.9 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.2974, allocations: 38.5 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.967e-05/0.2975, allocations: 28.89 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.2975, allocations: 0 / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.2976, allocations: 34.56 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.2976, allocations: 0 / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000306/0.2979, allocations: 81.58 kB / 1.056 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.2979, allocations: 55.53 kB / 1.056 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.855e-05/0.298, allocations: 101.9 kB / 1.056 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.298, allocations: 25.7 kB / 1.056 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.503e-05/0.298, allocations: 80.14 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.298, allocations: 7.891 kB / 1.056 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.2981, allocations: 17.72 kB / 1.056 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.292e-05/0.2982, allocations: 310.8 kB / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.468e-05/0.2982, allocations: 15.98 kB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.624e-05/0.2983, allocations: 19.98 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.2985, allocations: 44.81 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2985, allocations: 3.938 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001797/0.2987, allocations: 73.56 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.2987, allocations: 8 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.2987, allocations: 0 / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.2987, allocations: 0 / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.699e-05/0.2988, allocations: 4 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.2988, allocations: 0 / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.468e-05/0.2988, allocations: 7.984 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.2989, allocations: 4 kB / 1.056 GB, free: 4.641 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 (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 7.332e-05/0.2989, allocations: 117.8 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.299, allocations: 3.938 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002025/0.2992, allocations: 76.7 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2992, allocations: 0 / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.2992, allocations: 0 / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.2992, allocations: 0 / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.2993, allocations: 157.6 kB / 1.057 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2994, allocations: 0 / 1.057 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.908e-05/0.2994, allocations: 20.02 kB / 1.057 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.2994, allocations: 0 / 1.057 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.2994, allocations: 0 / 1.057 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2994, allocations: 0 / 1.057 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2994, allocations: 0 / 1.057 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.2997, allocations: 163.4 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.279e-05/0.2997, allocations: 85.05 kB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.2997, allocations: 4.188 kB / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.395e-05/0.2998, allocations: 11.92 kB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.2998, allocations: 7.984 kB / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.2999, allocations: 0 / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.425e-05/0.2999, allocations: 83.27 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2999, allocations: 0 / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002444/0.3002, allocations: 7.938 kB / 1.057 GB, free: 3.82 MB / 0.8106 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.0004665/0.3006, allocations: 0.6929 MB / 1.058 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001827/0.3008, allocations: 39.91 kB / 1.058 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.3009, allocations: 4.094 kB / 1.058 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.619e-05/0.3009, allocations: 23.97 kB / 1.058 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.3012, allocations: 0 / 1.058 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003806/0.3016, allocations: 131.3 kB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001824/0.3018, allocations: 0.6768 MB / 1.058 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.132e-05/0.3018, allocations: 8.062 kB / 1.059 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.934e-05/0.3018, allocations: 7.438 kB / 1.059 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of SimCode: time 2.01e-07/0.3018, allocations: 0 / 1.059 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.235/1.536, allocations: 1.24 MB / 1.06 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.313/8.85, allocations: 4.531 kB / 1.06 GB, free: 0.9688 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Log_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Log.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches