Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.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.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant",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.007035/0.007035, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001673/0.001673, allocations: 195.9 kB / 16.68 MB, free: 5.93 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.274/1.274, 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.142/2.142, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 63.91 kB / 0.9504 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6232/0.6244, allocations: 140.4 MB / 1.088 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.001473/0.6259, allocations: 0.5788 MB / 1.088 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 3.473e-05/0.6259, allocations: 0.5625 kB / 1.088 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.494e-05/0.6259, allocations: 1.094 kB / 1.088 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.952e-05/0.626, allocations: 4 kB / 1.088 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.916e-05/0.626, allocations: 0 / 1.088 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 2.601e-05/0.626, allocations: 1.094 kB / 1.088 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.436e-05/0.6261, allocations: 5.781 kB / 1.088 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.195e-05/0.6261, allocations: 7.906 kB / 1.088 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.217e-05/0.6262, allocations: 0.6562 kB / 1.088 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 1.499e-05/0.6262, allocations: 5.156 kB / 1.088 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.488e-06/0.6262, allocations: 3.938 kB / 1.088 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.432e-06/0.6262, allocations: 1.062 kB / 1.088 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.005e-05/0.6262, allocations: 0 / 1.088 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.666e-05/0.6262, allocations: 5.125 kB / 1.088 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 4.718e-05/0.6263, allocations: 5.484 kB / 1.088 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.6263, allocations: 1.281 kB / 1.088 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6263, allocations: 0 / 1.088 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.6263, allocations: 0 / 1.088 GB, free: 4.871 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001892/0.6265, allocations: 313.9 kB / 1.088 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.6265, allocations: 8.875 kB / 1.088 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.876e-05/0.6266, allocations: 32.39 kB / 1.088 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.596e-05/0.6266, allocations: 0.9375 kB / 1.088 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.658e-05/0.6267, allocations: 166.8 kB / 1.089 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.218e-06/0.6267, allocations: 384 / 1.089 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-06/0.6267, allocations: 1.469 kB / 1.089 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.295e-05/0.6267, allocations: 29.14 kB / 1.089 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.6268, allocations: 3.938 kB / 1.089 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.042e-06/0.6268, allocations: 0 / 1.089 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.6268, allocations: 5.516 kB / 1.089 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.316e-05/0.6268, allocations: 5.062 kB / 1.089 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001769/0.627, allocations: 382.5 kB / 1.089 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.745e-05/0.627, allocations: 171 kB / 1.089 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.406e-05/0.627, allocations: 84.14 kB / 1.089 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.6271, allocations: 76.28 kB / 1.089 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.6271, allocations: 115.4 kB / 1.089 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.6271, allocations: 0 / 1.089 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 5.571e-05/0.6271, allocations: 27.41 kB / 1.089 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/0.6272, allocations: 127.2 kB / 1.09 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.913e-05/0.6272, allocations: 98.2 kB / 1.09 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.897e-06/0.6272, allocations: 26.67 kB / 1.09 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.045e-05/0.6273, allocations: 80.14 kB / 1.09 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-06/0.6273, allocations: 1.156 kB / 1.09 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.667e-05/0.6273, allocations: 15.44 kB / 1.09 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.163e-05/0.6273, allocations: 312.6 kB / 1.09 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.717e-06/0.6273, allocations: 0 / 1.09 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.377e-06/0.6273, allocations: 0 / 1.09 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.171e-05/0.6273, allocations: 84.92 kB / 1.09 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.6274, allocations: 79.22 kB / 1.09 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.205e-05/0.6274, allocations: 28.39 kB / 1.09 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.6274, allocations: 82.17 kB / 1.09 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.6274, allocations: 79.31 kB / 1.09 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.797e-05/0.6275, allocations: 164 kB / 1.091 GB, free: 18.14 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.45e-05/0.6275, allocations: 77.09 kB / 1.091 GB, free: 18.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-05/0.6276, allocations: 156.2 kB / 1.091 GB, free: 17.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.32e-05/0.6277, allocations: 77.02 kB / 1.091 GB, free: 17.84 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.6277, allocations: 76.47 kB / 1.091 GB, free: 17.77 MB / 0.8731 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 (0): * Single equations (assignments): 0 * 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 9.405e-05/0.6278, allocations: 270.3 kB / 1.091 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.29e-05/0.6279, allocations: 115.5 kB / 1.091 GB, free: 17.38 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.639e-05/0.6279, allocations: 106.6 kB / 1.091 GB, free: 17.27 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-05/0.628, allocations: 182.2 kB / 1.092 GB, free: 17.09 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.124e-05/0.628, allocations: 177.2 kB / 1.092 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-05/0.6281, allocations: 182.1 kB / 1.092 GB, free: 16.72 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.6283, allocations: 409 kB / 1.092 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.069e-05/0.6283, allocations: 102.6 kB / 1.092 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.166e-05/0.6284, allocations: 110.8 kB / 1.093 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.832e-05/0.6284, allocations: 181.8 kB / 1.093 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-05/0.6285, allocations: 178.1 kB / 1.093 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.576e-05/0.6285, allocations: 186 kB / 1.093 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.397e-05/0.6286, allocations: 186 kB / 1.093 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.6287, allocations: 305.7 kB / 1.094 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.008e-05/0.6288, allocations: 184.1 kB / 1.094 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.976e-05/0.6289, allocations: 186.7 kB / 1.094 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.422e-05/0.6289, allocations: 106.9 kB / 1.094 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.31e-05/0.629, allocations: 182.1 kB / 1.094 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.686e-05/0.629, allocations: 103.2 kB / 1.094 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 3.026e-05/0.6291, allocations: 76.98 kB / 1.094 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6291, allocations: 1.125 kB / 1.094 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002576/0.6293, allocations: 96 / 1.094 GB, free: 14.13 MB / 0.8731 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 (0): * Single equations (assignments): 0 * 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.0003557/0.6297, allocations: 0.8141 MB / 1.095 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 3.275e-05/0.6298, allocations: 1.672 kB / 1.095 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.6298, allocations: 0 / 1.095 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.6298, allocations: 5.188 kB / 1.095 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.6301, allocations: 457.2 kB / 1.096 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008992/0.631, allocations: 1.528 MB / 1.097 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/0.6313, allocations: 0.6751 MB / 1.098 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.5e-06/0.6313, allocations: 0 / 1.098 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.754e-05/0.6313, allocations: 12.12 kB / 1.098 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.6313, allocations: 0 / 1.098 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01483/0.6461, allocations: 0.9212 MB / 1.099 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.059/7.706, allocations: 13.66 kB / 1.099 GB, free: 10.23 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_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_Sources_Validation_Constant.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches