Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 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.Average,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_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.001214/0.001214, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00127/0.00127, allocations: 196.4 kB / 16.26 MB, free: 6.625 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.226/1.226, allocations: 222.9 MB / 239.9 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.444/2.444, allocations: 461.9 MB / 0.7344 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 66.19 kB / 0.8987 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2478, allocations: 157.4 MB / 1.052 GB, free: 8.613 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001979/0.2499, allocations: 0.7728 MB / 1.053 GB, free: 7.84 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00082/0.2507, allocations: 0.8079 MB / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.594e-05/0.2508, allocations: 0 / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.33e-05/0.2508, allocations: 0 / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.335e-05/0.2509, allocations: 11.92 kB / 1.054 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.658e-05/0.2509, allocations: 8 kB / 1.054 GB, free: 7 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.551e-05/0.251, allocations: 47.84 kB / 1.054 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.2511, allocations: 11.98 kB / 1.054 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.822e-05/0.2512, allocations: 23.86 kB / 1.054 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.777e-05/0.2512, allocations: 19.92 kB / 1.054 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.2513, allocations: 7.938 kB / 1.054 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.727e-06/0.2513, allocations: 4 kB / 1.054 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.685e-05/0.2513, allocations: 7.984 kB / 1.054 GB, free: 6.879 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.852e-05/0.2513, allocations: 23.86 kB / 1.054 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.785e-05/0.2514, allocations: 35.88 kB / 1.054 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2514, allocations: 0 / 1.054 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2514, allocations: 0 / 1.054 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.2514, allocations: 0 / 1.054 GB, free: 6.82 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004678/0.2519, allocations: 359.7 kB / 1.055 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.252, allocations: 8.625 kB / 1.055 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.362e-05/0.252, allocations: 34.75 kB / 1.055 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.497e-05/0.252, allocations: 12.83 kB / 1.055 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.2521, allocations: 172.3 kB / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.2522, allocations: 384 / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.2522, allocations: 4.359 kB / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.2524, allocations: 74.16 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.2524, allocations: 3.938 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.2524, allocations: 0 / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.2524, allocations: 0 / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002672/0.2527, allocations: 67.92 kB / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003313/0.2531, allocations: 272.8 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.2532, allocations: 62.47 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.2534, allocations: 36.92 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.2534, allocations: 0 / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.2534, allocations: 30.56 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.2534, allocations: 0 / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004886/0.2539, allocations: 129.6 kB / 1.055 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.254, allocations: 51.41 kB / 1.055 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.091e-05/0.2541, allocations: 113.8 kB / 1.056 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.2541, allocations: 25.7 kB / 1.056 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.688e-05/0.2541, allocations: 80.14 kB / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.2541, allocations: 19.75 kB / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.2542, allocations: 17.7 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.514e-05/0.2543, allocations: 322.8 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.2544, allocations: 27.97 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.2545, allocations: 31.95 kB / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002425/0.2548, allocations: 76.72 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.2548, allocations: 4 kB / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002917/0.2551, allocations: 93.62 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.2551, allocations: 5.25 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.2551, allocations: 0 / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.2552, allocations: 8 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.2553, allocations: 19.86 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.2553, allocations: 0 / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.213e-05/0.2554, allocations: 11.98 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.2554, allocations: 3.984 kB / 1.056 GB, free: 4.449 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 (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.57e-05/0.2554, allocations: 117.8 kB / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.2555, allocations: 3.906 kB / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.228e-05/0.2555, allocations: 11.91 kB / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2555, allocations: 0 / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.2555, allocations: 0 / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.2555, allocations: 0 / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.2557, allocations: 169.9 kB / 1.057 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2557, allocations: 3.984 kB / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.017e-05/0.2558, allocations: 11.98 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2558, allocations: 4 kB / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.2558, allocations: 0 / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.2558, allocations: 0 / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2558, allocations: 4 kB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003211/0.2561, allocations: 199.3 kB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.324e-05/0.2562, allocations: 88.94 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.2562, allocations: 4 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.2563, allocations: 11.98 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.2563, allocations: 8 kB / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.2564, allocations: 0 / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.955e-05/0.2564, allocations: 91.56 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2564, allocations: 0 / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002161/0.2566, allocations: 8 kB / 1.057 GB, free: 3.629 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 (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.0005889/0.2572, allocations: 0.728 MB / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003082/0.2575, allocations: 75.8 kB / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2576, allocations: 4 kB / 1.058 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.2577, allocations: 31.97 kB / 1.058 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.258, allocations: 10.23 kB / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004076/0.2584, allocations: 174.1 kB / 1.058 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001918/0.2586, allocations: 0.6846 MB / 1.059 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.232e-05/0.2586, allocations: 0 / 1.059 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.384e-05/0.2587, allocations: 15.44 kB / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of SimCode: time 1.493e-06/0.2587, allocations: 0 / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5747/0.8334, allocations: 1.423 MB / 1.06 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002335/0.8337, allocations: 210.9 kB / 1.06 GB, free: 272 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.492/2.326, allocations: 0 / 1.06 GB, free: 272 kB / 0.8106 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Average_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Average.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches