Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 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.Sources.Validation.Constant,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_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.01257/0.01257, allocations: 101 kB / 15.73 MB, free: 6.059 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.002574/0.002573, allocations: 192.5 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.635/2.635, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.443/4.443, allocations: 437 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002665/0.002665, allocations: 64.12 kB / 1.018 GB, free: 9.863 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.765/1.767, allocations: 151.6 MB / 1.166 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.003118/1.771, allocations: 0.5822 MB / 1.167 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 6.886e-05/1.771, allocations: 7.938 kB / 1.167 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.656e-05/1.771, allocations: 0 / 1.167 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.429e-05/1.771, allocations: 0 / 1.167 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.36e-05/1.771, allocations: 0 / 1.167 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.846e-05/1.771, allocations: 7.938 kB / 1.167 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.436e-05/1.771, allocations: 3.984 kB / 1.167 GB, free: 3.199 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.381e-05/1.771, allocations: 6.031 kB / 1.167 GB, free: 3.195 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.069e-05/1.771, allocations: 4 kB / 1.167 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.531e-05/1.771, allocations: 0 / 1.167 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/1.771, allocations: 0 / 1.167 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 6.182e-06/1.771, allocations: 0 / 1.167 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.936e-05/1.771, allocations: 0 / 1.167 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.315e-05/1.771, allocations: 0 / 1.167 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001121/1.772, allocations: 15.92 kB / 1.167 GB, free: 3.176 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/1.772, allocations: 0 / 1.167 GB, free: 3.176 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.867e-06/1.772, allocations: 0 / 1.167 GB, free: 3.176 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.658e-05/1.772, allocations: 0 / 1.167 GB, free: 3.176 MB / 0.8887 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.000556/1.772, allocations: 315.5 kB / 1.167 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.446e-05/1.772, allocations: 8.625 kB / 1.167 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.099e-05/1.772, allocations: 38.67 kB / 1.167 GB, free: 2.762 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/1.772, allocations: 4.938 kB / 1.167 GB, free: 2.758 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/1.773, allocations: 164.4 kB / 1.167 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/1.773, allocations: 384 / 1.167 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-06/1.773, allocations: 384 / 1.167 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/1.773, allocations: 30.27 kB / 1.167 GB, free: 2.523 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/1.773, allocations: 3.938 kB / 1.167 GB, free: 2.52 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/1.773, allocations: 0 / 1.167 GB, free: 2.52 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/1.773, allocations: 8 kB / 1.167 GB, free: 2.512 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.207e-05/1.773, allocations: 3.938 kB / 1.167 GB, free: 2.508 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005473/1.773, allocations: 383.5 kB / 1.168 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/1.774, allocations: 169.1 kB / 1.168 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.299e-05/1.774, allocations: 80.14 kB / 1.168 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 5.132e-05/1.774, allocations: 79.28 kB / 1.168 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.139e-05/1.774, allocations: 105.8 kB / 1.168 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.363e-06/1.774, allocations: 4 kB / 1.168 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 0.0001109/1.774, allocations: 33.62 kB / 1.168 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.483e-05/1.774, allocations: 126.7 kB / 1.168 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/1.774, allocations: 101.9 kB / 1.168 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/1.774, allocations: 25.7 kB / 1.168 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/1.774, allocations: 80.14 kB / 1.168 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/1.774, allocations: 0 / 1.168 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/1.774, allocations: 9.719 kB / 1.168 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002415/1.775, allocations: 314.8 kB / 1.169 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.563e-06/1.775, allocations: 0 / 1.169 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.408e-06/1.775, allocations: 0 / 1.169 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.845e-05/1.775, allocations: 79.28 kB / 1.169 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.993e-05/1.775, allocations: 87.33 kB / 1.169 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0) (initialization): time 8.842e-05/1.775, allocations: 40.03 kB / 1.169 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 5.669e-05/1.775, allocations: 79.28 kB / 1.169 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.148e-05/1.775, allocations: 75.31 kB / 1.169 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001012/1.775, allocations: 154.6 kB / 1.169 GB, free: 396 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.333e-05/1.775, allocations: 83.22 kB / 1.169 GB, free: 312 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002307/1.775, allocations: 150.6 kB / 1.17 GB, free: 160 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/1.776, allocations: 83.22 kB / 1.17 GB, free: 76 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.124e-05/1.776, allocations: 79.33 kB / 1.17 GB, free: 15.99 MB / 0.9044 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 0.0002193/1.776, allocations: 268.3 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.221e-05/1.776, allocations: 104.9 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.287e-05/1.776, allocations: 104.1 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001216/1.776, allocations: 180.3 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001036/1.776, allocations: 188.2 kB / 1.17 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002318/1.777, allocations: 180.3 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003675/1.777, allocations: 401.1 kB / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.892e-05/1.777, allocations: 113 kB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.278e-05/1.777, allocations: 101 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002073/1.777, allocations: 188.2 kB / 1.171 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00011/1.777, allocations: 176.3 kB / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001136/1.778, allocations: 184.2 kB / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001019/1.778, allocations: 180.3 kB / 1.172 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/1.778, allocations: 320.1 kB / 1.172 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/1.778, allocations: 178.1 kB / 1.172 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001609/1.778, allocations: 188.2 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/1.778, allocations: 109 kB / 1.173 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/1.778, allocations: 176.3 kB / 1.173 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.417e-05/1.779, allocations: 108.9 kB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.449e-05/1.779, allocations: 83.28 kB / 1.173 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of sort global known variables: time 4.51e-07/1.779, allocations: 0 / 1.173 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004332/1.779, allocations: 0 / 1.173 GB, free: 12.31 MB / 0.9044 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.0008959/1.78, allocations: 0.8127 MB / 1.174 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001023/1.78, allocations: 7.938 kB / 1.174 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.78, allocations: 0 / 1.174 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.565e-06/1.78, allocations: 0 / 1.174 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007003/1.781, allocations: 451.7 kB / 1.174 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002692/1.784, allocations: 1.532 MB / 1.176 GB, free: 9.406 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00074/1.784, allocations: 0.6767 MB / 1.176 GB, free: 8.703 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.209e-05/1.784, allocations: 4 kB / 1.176 GB, free: 8.699 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.344e-05/1.784, allocations: 7.438 kB / 1.176 GB, free: 8.691 MB / 0.9044 GB Notification: Performance of SimCode: time 5.61e-07/1.784, allocations: 0 / 1.176 GB, free: 8.691 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04198/1.826, allocations: 0.9213 MB / 1.177 GB, free: 7.879 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.08/15.9, allocations: 15.42 kB / 1.177 GB, free: 7.867 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.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_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches