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.0008648/0.0008648, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005089/0.005089, allocations: 172 kB / 16.27 MB, free: 6.367 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.231/1.231, allocations: 223.3 MB / 240.3 MB, free: 5.363 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.302/2.302, allocations: 437.8 MB / 0.7121 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003313, allocations: 23.98 kB / 0.873 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5004/0.5007, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.0008769/0.5016, allocations: 0.5991 MB / 1.024 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009269/0.5026, allocations: 0.8857 MB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.09e-05/0.5027, allocations: 4 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.433e-05/0.5027, allocations: 7.922 kB / 1.025 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.095e-05/0.5028, allocations: 7.938 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000149/0.5029, allocations: 51.95 kB / 1.025 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.5031, allocations: 135.7 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.5032, allocations: 53.45 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.031e-05/0.5033, allocations: 39.8 kB / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.911e-05/0.5034, allocations: 43.7 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.5034, allocations: 4 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.439e-05/0.5034, allocations: 8 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.862e-05/0.5035, allocations: 31.83 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.368e-05/0.5035, allocations: 69.38 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.5036, allocations: 127.5 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.5036, allocations: 4 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.022e-06/0.5036, allocations: 0 / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.5037, allocations: 0 / 1.025 GB, free: 13.79 MB / 0.7794 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.0005017/0.5042, allocations: 421.4 kB / 1.026 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.5042, allocations: 8.031 kB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.233e-05/0.5043, allocations: 50.73 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.645e-05/0.5043, allocations: 16.75 kB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.5045, allocations: 216 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.5045, allocations: 12.38 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.5045, allocations: 12.38 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002932/0.5048, allocations: 150.7 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.5048, allocations: 3.938 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.5049, allocations: 16 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.5049, allocations: 4 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002972/0.5052, allocations: 131.9 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006708/0.5059, allocations: 0.5 MB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.5061, allocations: 94.47 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.5062, allocations: 52.83 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.5062, allocations: 0 / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.5062, allocations: 34.56 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 9.32e-07/0.5062, allocations: 0 / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0004563/0.5067, allocations: 177.8 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.5067, allocations: 55.34 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.5069, allocations: 199.4 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.5069, allocations: 25.8 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.159e-05/0.507, allocations: 120 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.507, allocations: 35.45 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.681e-05/0.5071, allocations: 17.72 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.381e-05/0.5071, allocations: 322.8 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.5073, allocations: 43.97 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.5074, allocations: 53.97 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002334/0.5076, allocations: 100.8 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.5076, allocations: 3.938 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003002/0.508, allocations: 158.8 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.508, allocations: 4 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.508, allocations: 0 / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.218e-06/0.508, allocations: 0 / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.5082, allocations: 31.97 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.207e-06/0.5082, allocations: 4 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.5083, allocations: 27.69 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.5083, allocations: 4 kB / 1.028 GB, free: 10.5 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.888e-05/0.5084, allocations: 121.8 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.762e-05/0.5084, allocations: 19.88 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003238/0.5087, allocations: 154.9 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.5088, allocations: 0 / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.5088, allocations: 0 / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.5088, allocations: 0 / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005278/0.5093, allocations: 468.9 kB / 1.029 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.5093, allocations: 0 / 1.029 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.5094, allocations: 23.98 kB / 1.029 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.289e-06/0.5094, allocations: 4 kB / 1.029 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.5094, allocations: 0 / 1.029 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.5095, allocations: 8.031 kB / 1.029 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.5095, allocations: 4 kB / 1.029 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003109/0.5098, allocations: 257.8 kB / 1.029 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.594e-05/0.5098, allocations: 97.09 kB / 1.029 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.5099, allocations: 4 kB / 1.029 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.51, allocations: 23.92 kB / 1.029 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.51, allocations: 15.92 kB / 1.029 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.5101, allocations: 7.938 kB / 1.029 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.751e-05/0.5102, allocations: 145.2 kB / 1.029 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5102, allocations: 0 / 1.029 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002335/0.5104, allocations: 27.94 kB / 1.029 GB, free: 9.027 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.0005563/0.511, allocations: 0.7968 MB / 1.03 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002742/0.5113, allocations: 99.95 kB / 1.03 GB, free: 8.094 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5113, allocations: 0 / 1.03 GB, free: 8.094 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.5114, allocations: 56.09 kB / 1.03 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.5117, allocations: 19.94 kB / 1.03 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.5136, allocations: 1.939 MB / 1.032 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.5138, allocations: 0.7122 MB / 1.033 GB, free: 5.254 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.417e-05/0.5139, allocations: 13.08 kB / 1.033 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.643e-05/0.514, allocations: 43.42 kB / 1.033 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.514, allocations: 0 / 1.033 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1913/0.7052, allocations: 2.463 MB / 1.035 GB, free: 2.855 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/0.7054, allocations: 195.7 kB / 1.036 GB, free: 2.605 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.519/2.224, allocations: 0 / 1.036 GB, free: 2.605 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