Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Reals.Validation.Line,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Line",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.001254/0.001254, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001412/0.001412, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.228/1.228, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.391/2.391, allocations: 437 MB / 0.7099 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.91 kB / 0.8687 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5849/0.5861, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.001912/0.5881, allocations: 0.9496 MB / 1.018 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000815/0.5889, allocations: 0.8857 MB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.33e-05/0.589, allocations: 3.938 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.545e-05/0.589, allocations: 7.922 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.278e-05/0.5891, allocations: 7.938 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001429/0.5892, allocations: 59.94 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.5894, allocations: 127.7 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.5895, allocations: 61.44 kB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.301e-05/0.5896, allocations: 39.8 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.211e-05/0.5897, allocations: 59.69 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.5897, allocations: 12 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.817e-05/0.5897, allocations: 8 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.843e-05/0.5898, allocations: 27.91 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.7e-05/0.5898, allocations: 51.67 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.5899, allocations: 131.5 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.5899, allocations: 4 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of FrontEnd: time 6.51e-07/0.5899, allocations: 0 / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.59, allocations: 0 / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005155/0.5905, allocations: 449.3 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.382e-05/0.5905, allocations: 8.031 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.87e-05/0.5905, allocations: 46.73 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.957e-05/0.5906, allocations: 16.75 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.5907, allocations: 208.1 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.5908, allocations: 8.375 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.5908, allocations: 12.38 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.5911, allocations: 154.7 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.5911, allocations: 7.938 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.5911, allocations: 7.938 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.5911, allocations: 4 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002694/0.5914, allocations: 127.9 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006156/0.592, allocations: 499.9 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.5922, allocations: 90.47 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.5923, allocations: 48.95 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.5923, allocations: 4 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.661e-05/0.5923, allocations: 30.56 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.143e-06/0.5923, allocations: 4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0003952/0.5927, allocations: 157.4 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.5928, allocations: 55.41 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.5929, allocations: 195.5 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.5929, allocations: 25.7 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.289e-05/0.593, allocations: 111.9 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.593, allocations: 31.55 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/0.5931, allocations: 33.62 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.526e-05/0.5932, allocations: 326.8 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.5933, allocations: 39.97 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.5934, allocations: 41.22 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/0.5936, allocations: 100.6 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.5936, allocations: 7.938 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002754/0.5939, allocations: 141.5 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.5939, allocations: 8 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.5939, allocations: 3.984 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.323e-06/0.5939, allocations: 0 / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.5941, allocations: 23.98 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.5941, allocations: 4 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.5942, allocations: 27.69 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.5942, allocations: 7.984 kB / 1.022 GB, free: 13.09 MB / 0.7794 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 (13): * Single equations (assignments): 13 * 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.265e-05/0.5943, allocations: 129.7 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.5943, allocations: 7.906 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002921/0.5946, allocations: 139 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.5946, allocations: 0 / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.5947, allocations: 0 / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.5947, allocations: 4 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004912/0.5952, allocations: 456.8 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.5952, allocations: 4 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.5953, allocations: 27.86 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.5953, allocations: 0 / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.5953, allocations: 4.094 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.5953, allocations: 4.469 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5953, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003069/0.5956, allocations: 253.8 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.474e-05/0.5957, allocations: 100.9 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.5957, allocations: 0 / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.5958, allocations: 15.98 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.5959, allocations: 11.92 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.004e-06/0.5959, allocations: 4 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.382e-05/0.596, allocations: 145.2 kB / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.596, allocations: 0 / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002269/0.5962, allocations: 27.94 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.000515/0.5967, allocations: 0.7773 MB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002463/0.597, allocations: 95.88 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.597, allocations: 0 / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.5971, allocations: 47.92 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.5974, allocations: 21.89 kB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.5992, allocations: 1.91 MB / 1.026 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/0.5994, allocations: 0.72 MB / 1.027 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.58e-05/0.5995, allocations: 13.08 kB / 1.027 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.711e-05/0.5996, allocations: 43.42 kB / 1.027 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of SimCode: time 3.5e-07/0.5996, allocations: 0 / 1.027 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009852/0.6094, allocations: 2.533 MB / 1.029 GB, free: 5.441 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002636/0.6097, allocations: 201 kB / 1.03 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.586/2.196, allocations: 0 / 1.03 GB, free: 5.184 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Line_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Line.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches