Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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.Cos,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",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.001521/0.001521, 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.001735/0.001735, allocations: 195.7 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.241/1.241, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.529/2.529, allocations: 461.9 MB / 0.7346 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 70.34 kB / 0.8992 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2338, allocations: 157.4 MB / 1.053 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001822/0.2357, allocations: 0.6691 MB / 1.054 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007989/0.2365, allocations: 0.8157 MB / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.304e-05/0.2366, allocations: 0 / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.686e-05/0.2366, allocations: 3.938 kB / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.063e-05/0.2366, allocations: 3.938 kB / 1.054 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001233/0.2368, allocations: 11.98 kB / 1.054 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.603e-05/0.2368, allocations: 19.94 kB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.036e-05/0.2369, allocations: 11.97 kB / 1.054 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.44e-05/0.237, allocations: 11.94 kB / 1.054 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.566e-05/0.237, allocations: 11.98 kB / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.2371, allocations: 0 / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.035e-05/0.2371, allocations: 11.94 kB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.2371, allocations: 0 / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.504e-05/0.2371, allocations: 7.938 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.632e-05/0.2372, allocations: 23.95 kB / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2372, allocations: 0 / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2372, allocations: 0 / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.2372, allocations: 0 / 1.054 GB, free: 6.699 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.0003869/0.2376, allocations: 335.8 kB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.2376, allocations: 8.625 kB / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.752e-05/0.2377, allocations: 38.75 kB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.005e-05/0.2377, allocations: 4.844 kB / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.2378, allocations: 164.4 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.2378, allocations: 8.375 kB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.402e-06/0.2378, allocations: 384 / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.238, allocations: 58.16 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.238, allocations: 3.938 kB / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.238, allocations: 3.938 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.238, allocations: 3.938 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.2382, allocations: 39.95 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002781/0.2385, allocations: 241 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.2386, allocations: 42.48 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.366e-05/0.2387, allocations: 24.84 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.2387, allocations: 0 / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.2388, allocations: 34.56 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.2388, allocations: 0 / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003167/0.2391, allocations: 77.64 kB / 1.056 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.2391, allocations: 55.53 kB / 1.056 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.117e-05/0.2392, allocations: 101.9 kB / 1.056 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.2392, allocations: 25.7 kB / 1.056 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.033e-05/0.2393, allocations: 84.12 kB / 1.056 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.509e-05/0.2393, allocations: 7.906 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/0.2393, allocations: 13.72 kB / 1.056 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.904e-05/0.2394, allocations: 314.8 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.227e-05/0.2395, allocations: 19.98 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.1e-05/0.2396, allocations: 19.97 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.2397, allocations: 36.83 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.2397, allocations: 3.938 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001878/0.2399, allocations: 69.56 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.2399, allocations: 13.19 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2399, allocations: 4 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.24, allocations: 0 / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.05e-05/0.24, allocations: 7.984 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.2401, allocations: 7.938 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.375e-05/0.2401, allocations: 0 / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.2401, allocations: 4 kB / 1.056 GB, free: 4.625 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 6.152e-05/0.2402, allocations: 113.8 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.2402, allocations: 0 / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002197/0.2404, allocations: 76.78 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2404, allocations: 0 / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.2405, allocations: 0 / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.2405, allocations: 0 / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.2406, allocations: 157.6 kB / 1.057 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2406, allocations: 3.938 kB / 1.057 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.929e-05/0.2407, allocations: 11.98 kB / 1.057 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2407, allocations: 4.031 kB / 1.057 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.2407, allocations: 0 / 1.057 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2407, allocations: 0 / 1.057 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2407, allocations: 3.938 kB / 1.057 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.2409, allocations: 163.5 kB / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.857e-05/0.241, allocations: 88.89 kB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.241, allocations: 12.02 kB / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.378e-05/0.2411, allocations: 4 kB / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.021e-05/0.2411, allocations: 3.984 kB / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.2411, allocations: 0 / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.451e-05/0.2412, allocations: 87.45 kB / 1.057 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2412, allocations: 0 / 1.057 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002084/0.2414, allocations: 4 kB / 1.057 GB, free: 3.809 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.0004989/0.2419, allocations: 0.6967 MB / 1.058 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001938/0.2421, allocations: 39.95 kB / 1.058 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.2421, allocations: 0 / 1.058 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.755e-05/0.2422, allocations: 20.08 kB / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.2425, allocations: 4 kB / 1.058 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003639/0.2428, allocations: 135.8 kB / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.2431, allocations: 0.6768 MB / 1.059 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.048e-05/0.2431, allocations: 4 kB / 1.059 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.861e-05/0.2431, allocations: 11.5 kB / 1.059 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of SimCode: time 2.81e-07/0.2431, allocations: 0 / 1.059 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01702/0.2601, allocations: 1.234 MB / 1.06 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.976/9.236, allocations: 11.14 kB / 1.06 GB, free: 0.957 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Cos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Cos.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches