Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 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.Line,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Line,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.006996/0.006996, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001725/0.001725, allocations: 193.3 kB / 16.67 MB, free: 5.953 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.238/2.238, allocations: 390.3 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 67.89 kB / 0.9505 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7658/0.7671, allocations: 140.4 MB / 1.088 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Line): time 0.001919/0.769, allocations: 0.898 MB / 1.088 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009969/0.77, allocations: 0.8884 MB / 1.089 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.076e-05/0.7702, allocations: 2.188 kB / 1.089 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.848e-05/0.7702, allocations: 14.58 kB / 1.089 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.37e-05/0.7703, allocations: 9.031 kB / 1.089 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.7705, allocations: 70.75 kB / 1.089 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000195/0.7707, allocations: 139.4 kB / 1.089 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.7709, allocations: 58.12 kB / 1.09 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.792e-05/0.771, allocations: 51.27 kB / 1.09 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.129e-05/0.771, allocations: 67.16 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.948e-05/0.7711, allocations: 12.59 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.946e-05/0.7711, allocations: 13.53 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.228e-05/0.7711, allocations: 30.59 kB / 1.09 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.083e-05/0.7712, allocations: 57.45 kB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.7714, allocations: 138.8 kB / 1.09 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.7714, allocations: 0.8125 kB / 1.09 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.293e-06/0.7714, allocations: 4 kB / 1.09 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.7714, allocations: 1.688 kB / 1.09 GB, free: 3.68 MB / 0.8575 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.0005297/0.7719, allocations: 452.5 kB / 1.09 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.772, allocations: 9.938 kB / 1.09 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.224e-05/0.772, allocations: 50.84 kB / 1.09 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/0.7721, allocations: 17.45 kB / 1.09 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.7723, allocations: 212.5 kB / 1.091 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.7723, allocations: 9.594 kB / 1.091 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.7723, allocations: 13.44 kB / 1.091 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003158/0.7726, allocations: 146.2 kB / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.7727, allocations: 4.688 kB / 1.091 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.7727, allocations: 6.359 kB / 1.091 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.7727, allocations: 3.25 kB / 1.091 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003028/0.773, allocations: 129 kB / 1.091 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006712/0.7737, allocations: 498.7 kB / 1.091 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.7739, allocations: 89.42 kB / 1.091 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.774, allocations: 49.48 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.774, allocations: 1.469 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.7741, allocations: 36.77 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.7741, allocations: 4.688 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0004589/0.7745, allocations: 153.7 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/0.7746, allocations: 56.91 kB / 1.092 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.7747, allocations: 195.5 kB / 1.092 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.7748, allocations: 27.27 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.676e-05/0.7748, allocations: 110 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.7748, allocations: 38.75 kB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.753e-05/0.7749, allocations: 27.94 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.211e-05/0.7749, allocations: 322.7 kB / 1.092 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.7751, allocations: 49.58 kB / 1.092 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.7752, allocations: 45.34 kB / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002371/0.7754, allocations: 90.31 kB / 1.093 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.7754, allocations: 3.938 kB / 1.093 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002972/0.7757, allocations: 141.1 kB / 1.093 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.7758, allocations: 5.031 kB / 1.093 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.7758, allocations: 5.734 kB / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.7758, allocations: 3.984 kB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.776, allocations: 28.62 kB / 1.093 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.776, allocations: 1.281 kB / 1.093 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.7761, allocations: 28.98 kB / 1.093 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.7761, allocations: 2.25 kB / 1.093 GB, free: 1.418 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 (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 6.389e-05/0.7762, allocations: 119.9 kB / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.757e-05/0.7762, allocations: 15.33 kB / 1.093 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003326/0.7765, allocations: 145.2 kB / 1.093 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.7766, allocations: 0.75 kB / 1.093 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.7766, allocations: 0.7812 kB / 1.093 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.7766, allocations: 1.844 kB / 1.093 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005079/0.7771, allocations: 453.3 kB / 1.094 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.7771, allocations: 0.9688 kB / 1.094 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.7772, allocations: 25.31 kB / 1.094 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.7772, allocations: 2.344 kB / 1.094 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.7772, allocations: 5.656 kB / 1.094 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.7773, allocations: 5.375 kB / 1.094 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.7773, allocations: 1.531 kB / 1.094 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.7776, allocations: 245.4 kB / 1.094 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.309e-05/0.7776, allocations: 96.58 kB / 1.094 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.7776, allocations: 10.19 kB / 1.094 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.7778, allocations: 13.97 kB / 1.094 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/0.7778, allocations: 18.61 kB / 1.094 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.7778, allocations: 3.906 kB / 1.094 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.912e-05/0.778, allocations: 147.2 kB / 1.094 GB, free: 412 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.778, allocations: 0 / 1.094 GB, free: 412 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002551/0.7782, allocations: 26.25 kB / 1.094 GB, free: 404 kB / 0.8575 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.0005616/0.7788, allocations: 0.7763 MB / 1.095 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003089/0.7791, allocations: 94.11 kB / 1.095 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7791, allocations: 5.062 kB / 1.095 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.7793, allocations: 51.62 kB / 1.095 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.7796, allocations: 18.3 kB / 1.095 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00228/0.7818, allocations: 1.887 MB / 1.097 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.7821, allocations: 0.7103 MB / 1.098 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.953e-05/0.7822, allocations: 14.41 kB / 1.098 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.367e-05/0.7823, allocations: 38.88 kB / 1.098 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of SimCode: time 3.31e-07/0.7823, allocations: 192 / 1.098 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01855/0.8008, allocations: 2.815 MB / 1.1 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.858/8.659, allocations: 5.688 kB / 1.1 GB, free: 12.96 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Line.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches