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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001195/0.001195, 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.001151/0.001151, allocations: 187.6 kB / 16.25 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.212/1.212, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.23/2.23, allocations: 437 MB / 0.7101 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 68.14 kB / 0.8689 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4552/0.4565, allocations: 151.6 MB / 1.017 GB, free: 2.832 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.001703/0.4583, allocations: 0.9496 MB / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007725/0.459, allocations: 0.8896 MB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.316e-05/0.4591, allocations: 7.938 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.726e-05/0.4591, allocations: 7.922 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.994e-05/0.4592, allocations: 3.938 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001426/0.4594, allocations: 55.94 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.4595, allocations: 135.7 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.4597, allocations: 53.47 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.989e-05/0.4597, allocations: 55.78 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.806e-05/0.4598, allocations: 63.73 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.4598, allocations: 16 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.893e-05/0.4598, allocations: 12 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.647e-05/0.4599, allocations: 35.84 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.491e-05/0.4599, allocations: 55.67 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.4601, allocations: 135.5 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.4601, allocations: 0 / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4601, allocations: 0 / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.4601, allocations: 0 / 1.019 GB, free: 356 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.0005199/0.4606, allocations: 453.2 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.4606, allocations: 12.03 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.096e-05/0.4607, allocations: 46.73 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.4607, allocations: 16.75 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.4609, allocations: 204.1 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.4609, allocations: 12.38 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.4609, allocations: 12.38 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002745/0.4612, allocations: 158.6 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.4612, allocations: 3.938 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.4612, allocations: 4 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.4612, allocations: 4 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002595/0.4615, allocations: 131.9 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000608/0.4621, allocations: 488.1 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.4623, allocations: 90.41 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.4624, allocations: 40.84 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.4624, allocations: 15.91 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.4625, allocations: 34.56 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.4625, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0003883/0.4629, allocations: 157.6 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.4629, allocations: 59.34 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.463, allocations: 195.5 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.4631, allocations: 25.7 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.68e-05/0.4631, allocations: 119.9 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.4632, allocations: 35.55 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.373e-05/0.4632, allocations: 25.72 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.858e-05/0.4633, allocations: 322.8 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.4634, allocations: 39.97 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.991e-05/0.4635, allocations: 43.97 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.4637, allocations: 97.62 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.4637, allocations: 3.938 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002661/0.464, allocations: 148.6 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.457e-06/0.464, allocations: 4 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.464, allocations: 4 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.464, allocations: 3.984 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.4642, allocations: 27.92 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.4642, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.638e-05/0.4643, allocations: 27.78 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.649e-06/0.4643, allocations: 4 kB / 1.022 GB, free: 13.11 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.433e-05/0.4644, allocations: 125.8 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.35e-05/0.4644, allocations: 15.81 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002816/0.4647, allocations: 135 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.4647, allocations: 0 / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.4647, allocations: 480 / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.4647, allocations: 4 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004742/0.4652, allocations: 460.8 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4652, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.4653, allocations: 19.98 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.4653, allocations: 7.938 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.4654, allocations: 4.094 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4654, allocations: 0 / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.4654, allocations: 4 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.4656, allocations: 249.8 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.89e-05/0.4657, allocations: 93 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.4657, allocations: 0 / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.4659, allocations: 19.98 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.154e-05/0.4659, allocations: 19.8 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.4659, allocations: 4 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.858e-05/0.466, allocations: 140.1 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.466, allocations: 0 / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002272/0.4662, allocations: 35.84 kB / 1.024 GB, free: 11.68 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.0004894/0.4667, allocations: 0.7734 MB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002449/0.467, allocations: 99.88 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.467, allocations: 0 / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.4671, allocations: 43.92 kB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.4674, allocations: 23.92 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.4691, allocations: 1.904 MB / 1.026 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/0.4693, allocations: 0.7123 MB / 1.027 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.571e-05/0.4694, allocations: 13.08 kB / 1.027 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.102e-05/0.4694, allocations: 39.61 kB / 1.027 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.4695, allocations: 7.938 kB / 1.027 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.089/2.559, allocations: 2.63 MB / 1.03 GB, free: 5.391 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001698/2.559, allocations: 193.8 kB / 1.03 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.494/4.053, allocations: 0 / 1.03 GB, free: 5.141 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