Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.Exp,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",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.007152/0.007152, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001925/0.001925, allocations: 202.3 kB / 16.68 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.394/2.394, allocations: 222.9 MB / 240.4 MB, free: 4.316 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 4.059/4.059, allocations: 437.1 MB / 0.7105 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003299/0.003299, allocations: 71.89 kB / 1.018 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4256/0.4289, allocations: 151.6 MB / 1.166 GB, free: 7.242 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.002872/0.4318, allocations: 0.6595 MB / 1.167 GB, free: 6.582 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001685/0.4336, allocations: 0.8082 MB / 1.168 GB, free: 5.762 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.004e-05/0.4336, allocations: 0 / 1.168 GB, free: 5.762 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.648e-05/0.4337, allocations: 3.938 kB / 1.168 GB, free: 5.758 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.794e-05/0.4338, allocations: 0 / 1.168 GB, free: 5.758 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001755/0.434, allocations: 27.8 kB / 1.168 GB, free: 5.73 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.4341, allocations: 19.98 kB / 1.168 GB, free: 5.711 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.4343, allocations: 4 kB / 1.168 GB, free: 5.707 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.549e-05/0.4344, allocations: 15.97 kB / 1.168 GB, free: 5.691 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.703e-05/0.4344, allocations: 7.938 kB / 1.168 GB, free: 5.684 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.223e-05/0.4345, allocations: 7.938 kB / 1.168 GB, free: 5.676 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.057e-05/0.4345, allocations: 0 / 1.168 GB, free: 5.676 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.402e-05/0.4345, allocations: 3.984 kB / 1.168 GB, free: 5.672 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.36e-05/0.4346, allocations: 11.94 kB / 1.168 GB, free: 5.66 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.4347, allocations: 19.91 kB / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4347, allocations: 4 kB / 1.168 GB, free: 5.637 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4347, allocations: 0 / 1.168 GB, free: 5.637 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.4347, allocations: 0 / 1.168 GB, free: 5.637 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006675/0.4354, allocations: 343.7 kB / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.4355, allocations: 8.031 kB / 1.168 GB, free: 5.242 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.051e-05/0.4356, allocations: 30.75 kB / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.921e-05/0.4356, allocations: 0.9375 kB / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.4358, allocations: 172.3 kB / 1.168 GB, free: 4.996 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.4358, allocations: 384 / 1.168 GB, free: 4.996 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.4359, allocations: 8.375 kB / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002886/0.4362, allocations: 50.22 kB / 1.168 GB, free: 4.934 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.4362, allocations: 3.938 kB / 1.168 GB, free: 4.93 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.4362, allocations: 7.938 kB / 1.168 GB, free: 4.922 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.4363, allocations: 4 kB / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003196/0.4366, allocations: 31.97 kB / 1.168 GB, free: 4.887 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004922/0.4371, allocations: 249 kB / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.4373, allocations: 38.5 kB / 1.169 GB, free: 4.547 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/0.4375, allocations: 20.91 kB / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.4376, allocations: 3.984 kB / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.159e-05/0.4376, allocations: 34.5 kB / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.924e-06/0.4377, allocations: 4 kB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0006072/0.4383, allocations: 81.64 kB / 1.169 GB, free: 4.387 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/0.4383, allocations: 51.41 kB / 1.169 GB, free: 4.324 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.4385, allocations: 101.8 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.4385, allocations: 25.7 kB / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.924e-05/0.4386, allocations: 84.14 kB / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.4387, allocations: 8.078 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.194e-05/0.4387, allocations: 17.72 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002209/0.439, allocations: 314.8 kB / 1.169 GB, free: 3.75 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.4391, allocations: 15.98 kB / 1.169 GB, free: 3.734 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.4393, allocations: 15.92 kB / 1.169 GB, free: 3.719 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002566/0.4395, allocations: 44.88 kB / 1.169 GB, free: 3.672 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.4396, allocations: 7.875 kB / 1.169 GB, free: 3.664 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002967/0.4399, allocations: 69.56 kB / 1.17 GB, free: 3.59 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.4399, allocations: 4 kB / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.4399, allocations: 0 / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.4399, allocations: 0 / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.4401, allocations: 15.98 kB / 1.17 GB, free: 3.57 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.4401, allocations: 4.031 kB / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.804e-05/0.4402, allocations: 7.984 kB / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.4402, allocations: 0 / 1.17 GB, free: 3.559 MB / 0.92 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 (2): * Single equations (assignments): 2 * 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.0001524/0.4404, allocations: 113.8 kB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.235e-05/0.4404, allocations: 3.938 kB / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00032/0.4408, allocations: 68.78 kB / 1.17 GB, free: 3.359 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-06/0.4408, allocations: 8.031 kB / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.4408, allocations: 0 / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.4408, allocations: 0 / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.4411, allocations: 161.6 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4411, allocations: 0 / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.732e-05/0.4412, allocations: 7.984 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4412, allocations: 4 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.4412, allocations: 0 / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.4412, allocations: 0 / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4413, allocations: 0 / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000391/0.4417, allocations: 171.4 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.875e-05/0.4417, allocations: 85 kB / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.4418, allocations: 0 / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.4419, allocations: 7.984 kB / 1.17 GB, free: 2.84 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.277e-05/0.442, allocations: 4 kB / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.442, allocations: 4 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.78e-05/0.4421, allocations: 87.48 kB / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4421, allocations: 0 / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004392/0.4425, allocations: 4 kB / 1.17 GB, free: 2.742 MB / 0.92 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 (2): * Single equations (assignments): 2 * 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.000896/0.4434, allocations: 0.7046 MB / 1.171 GB, free: 2.008 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003173/0.4438, allocations: 31.97 kB / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4438, allocations: 4 kB / 1.171 GB, free: 1.973 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.4439, allocations: 11.98 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004782/0.4444, allocations: 11.98 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005756/0.445, allocations: 128.9 kB / 1.171 GB, free: 1.785 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.4454, allocations: 0.6806 MB / 1.172 GB, free: 1.078 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.197e-05/0.4455, allocations: 3.938 kB / 1.172 GB, free: 1.074 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.19e-05/0.4455, allocations: 15.38 kB / 1.172 GB, free: 1.059 MB / 0.92 GB Notification: Performance of SimCode: time 3.01e-07/0.4455, allocations: 0 / 1.172 GB, free: 1.059 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03065/0.4762, allocations: 1.249 MB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.69, allocations: 6.516 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_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_Validation_Exp.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches