Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.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.Average,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",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.01068/0.01068, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.002731/0.002731, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.688/1.688, allocations: 222.9 MB / 240.4 MB, free: 4.309 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 3.18/3.18, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 65.94 kB / 0.9505 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2294, allocations: 140.4 MB / 1.088 GB, free: 1.945 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.00161/0.231, allocations: 0.7051 MB / 1.088 GB, free: 1.242 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007124/0.2317, allocations: 0.8043 MB / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.158e-05/0.2318, allocations: 0 / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.491e-05/0.2318, allocations: 0 / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.694e-05/0.2319, allocations: 15.84 kB / 1.089 GB, free: 420 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.282e-05/0.2319, allocations: 15.98 kB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.048e-05/0.232, allocations: 47.86 kB / 1.089 GB, free: 356 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.2321, allocations: 11.98 kB / 1.089 GB, free: 344 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.131e-05/0.2322, allocations: 19.92 kB / 1.089 GB, free: 324 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.076e-05/0.2322, allocations: 15.92 kB / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.2323, allocations: 4 kB / 1.089 GB, free: 304 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.354e-06/0.2323, allocations: 4 kB / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.2323, allocations: 7.984 kB / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.715e-05/0.2323, allocations: 23.88 kB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 7.56e-05/0.2324, allocations: 43.8 kB / 1.089 GB, free: 224 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2324, allocations: 0 / 1.089 GB, free: 224 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.472e-06/0.2324, allocations: 0 / 1.089 GB, free: 224 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.2324, allocations: 0 / 1.089 GB, free: 224 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004693/0.2329, allocations: 362.2 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.233, allocations: 12.03 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.084e-05/0.233, allocations: 34.75 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.068e-05/0.233, allocations: 8.844 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.313e-05/0.2331, allocations: 169.2 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.2331, allocations: 4.359 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.2332, allocations: 4.375 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.2334, allocations: 66.22 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.2334, allocations: 3.938 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.2334, allocations: 0 / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.2334, allocations: 0 / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002757/0.2337, allocations: 71.86 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003096/0.234, allocations: 272.8 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.2342, allocations: 50.55 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.2344, allocations: 44.91 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.2344, allocations: 0 / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.2344, allocations: 30.56 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.2344, allocations: 0 / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005002/0.2349, allocations: 129.5 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.2349, allocations: 59.39 kB / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.65e-05/0.235, allocations: 105.8 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.235, allocations: 25.7 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.797e-05/0.2351, allocations: 92.12 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.2351, allocations: 11.81 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.2351, allocations: 13.72 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.162e-05/0.2352, allocations: 322.8 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.2354, allocations: 23.97 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.2355, allocations: 32.16 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002598/0.2358, allocations: 80.73 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2358, allocations: 0 / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003025/0.2361, allocations: 97.62 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.2361, allocations: 8 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.2361, allocations: 3.984 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.2361, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.2362, allocations: 15.98 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.2363, allocations: 4 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.483e-05/0.2363, allocations: 7.984 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.2364, allocations: 4 kB / 1.091 GB, free: 13.86 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 (3): * Single equations (assignments): 3 * 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.984e-05/0.2364, allocations: 117.7 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.2365, allocations: 7.906 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.614e-05/0.2365, allocations: 11.89 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2365, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2365, allocations: 4 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.2365, allocations: 3.938 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.2367, allocations: 173.6 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.2367, allocations: 4 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.288e-05/0.2368, allocations: 15.98 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2368, allocations: 3.984 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.2368, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2368, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2368, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003483/0.2372, allocations: 195.4 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.397e-05/0.2372, allocations: 85.02 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.2372, allocations: 0 / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.2373, allocations: 15.97 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.2374, allocations: 4 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-06/0.2374, allocations: 7.938 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.6e-05/0.2374, allocations: 91.56 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.232e-06/0.2374, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002067/0.2376, allocations: 11.94 kB / 1.092 GB, free: 13.02 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 (3): * Single equations (assignments): 3 * 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.0005877/0.2382, allocations: 0.728 MB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003175/0.2386, allocations: 67.92 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2386, allocations: 0 / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.2387, allocations: 43.91 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.239, allocations: 6.031 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003804/0.2394, allocations: 163.2 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001793/0.2396, allocations: 0.6807 MB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.04e-05/0.2396, allocations: 4 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.754e-05/0.2396, allocations: 15.42 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.2396, allocations: 0 / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.335/1.575, allocations: 1.64 MB / 1.095 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.47/16.05, allocations: 5 kB / 1.095 GB, free: 9.691 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Average_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Average.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches