Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Cos,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.008581/0.008581, allocations: 101.2 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.002151/0.002151, allocations: 200.6 kB / 16.68 MB, free: 5.984 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.654/1.654, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.441/2.441, allocations: 390.3 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 61.03 kB / 0.9504 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2238, allocations: 140.4 MB / 1.088 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.001589/0.2254, allocations: 0.6591 MB / 1.088 GB, free: 1.34 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007999/0.2262, allocations: 0.8121 MB / 1.089 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.954e-05/0.2263, allocations: 0 / 1.089 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.005e-05/0.2263, allocations: 0 / 1.089 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.999e-05/0.2264, allocations: 7.938 kB / 1.089 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001199/0.2265, allocations: 11.97 kB / 1.089 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.018e-05/0.2266, allocations: 23.94 kB / 1.089 GB, free: 484 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.312e-05/0.2267, allocations: 3.984 kB / 1.089 GB, free: 480 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.98e-05/0.2267, allocations: 15.88 kB / 1.089 GB, free: 464 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.381e-05/0.2268, allocations: 11.98 kB / 1.089 GB, free: 452 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.2268, allocations: 0 / 1.089 GB, free: 452 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.643e-06/0.2268, allocations: 4 kB / 1.089 GB, free: 448 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.408e-05/0.2268, allocations: 3.938 kB / 1.089 GB, free: 444 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.274e-05/0.2268, allocations: 8 kB / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 6.714e-05/0.2269, allocations: 35.86 kB / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2269, allocations: 0 / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2269, allocations: 0 / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.2269, allocations: 0 / 1.089 GB, free: 400 kB / 0.8419 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.0003615/0.2273, allocations: 334.4 kB / 1.089 GB, free: 16 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.2273, allocations: 12.03 kB / 1.089 GB, free: 4 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.244e-05/0.2274, allocations: 30.75 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.08e-05/0.2274, allocations: 4.844 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.621e-05/0.2275, allocations: 172.3 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.757e-06/0.2275, allocations: 4.375 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.2275, allocations: 4.375 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.2277, allocations: 46.23 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.2277, allocations: 7.875 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.2277, allocations: 4 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.2277, allocations: 0 / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.2279, allocations: 35.95 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002613/0.2282, allocations: 248.9 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.2283, allocations: 38.5 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.008e-05/0.2284, allocations: 20.89 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.2284, allocations: 4 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.2284, allocations: 34.56 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.2284, allocations: 0 / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003337/0.2288, allocations: 85.58 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.2288, allocations: 51.41 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.178e-05/0.2289, allocations: 97.86 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.2289, allocations: 25.7 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.732e-05/0.2289, allocations: 92.16 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.431e-05/0.229, allocations: 4.562 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/0.229, allocations: 13.72 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.177e-05/0.2291, allocations: 310.8 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.957e-05/0.2292, allocations: 23.98 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.735e-05/0.2292, allocations: 15.97 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.2294, allocations: 40.89 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.2294, allocations: 3.938 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000183/0.2296, allocations: 73.5 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.2296, allocations: 4 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.636e-06/0.2296, allocations: 3.938 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.2296, allocations: 0 / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.214e-05/0.2297, allocations: 20.02 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.2297, allocations: 0 / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.451e-05/0.2298, allocations: 4 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.2298, allocations: 0 / 1.091 GB, free: 14.32 MB / 0.8575 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 5.857e-05/0.2298, allocations: 114 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.208e-05/0.2299, allocations: 4 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002078/0.2301, allocations: 76.72 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2301, allocations: 0 / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2301, allocations: 0 / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2301, allocations: 0 / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.2302, allocations: 165.5 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2303, allocations: 4 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.363e-05/0.2303, allocations: 7.984 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2303, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.2303, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2303, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2303, allocations: 4 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.2306, allocations: 163.5 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.258e-05/0.2306, allocations: 85.2 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.2306, allocations: 3.984 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.979e-05/0.2307, allocations: 4 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.2307, allocations: 3.984 kB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.2307, allocations: 8.016 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.048e-05/0.2308, allocations: 83.22 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.2308, allocations: 0 / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002065/0.231, allocations: 8 kB / 1.092 GB, free: 13.5 MB / 0.8575 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.000488/0.2315, allocations: 0.6968 MB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002032/0.2317, allocations: 35.95 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2317, allocations: 0 / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.664e-05/0.2318, allocations: 19.92 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.2321, allocations: 9.562 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004537/0.2326, allocations: 135.4 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.2328, allocations: 0.6768 MB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.162e-05/0.2328, allocations: 0 / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.446e-05/0.2329, allocations: 7.438 kB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of SimCode: time 2.91e-07/0.2329, allocations: 0 / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.422/3.655, allocations: 1.273 MB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.46/19.11, allocations: 5.094 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Cos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches