Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008805/0.0008805, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9159/0.9159, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.761/1.761, allocations: 377.8 MB / 0.6221 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.981 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.164e-05, allocations: 6.219 kB / 0.981 GB, free: 2.547 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.001498/0.001519, allocations: 0.8412 MB / 0.9818 GB, free: 1.707 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001257/0.001645, allocations: 55.72 kB / 0.9818 GB, free: 1.652 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.891e-05/0.001694, allocations: 0 / 0.9818 GB, free: 1.652 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 4.128e-05/0.001735, allocations: 11.86 kB / 0.9819 GB, free: 1.641 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.201e-05/0.001807, allocations: 15.81 kB / 0.9819 GB, free: 1.625 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 5.685e-05/0.001864, allocations: 27.97 kB / 0.9819 GB, free: 1.598 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.001967, allocations: 79.77 kB / 0.982 GB, free: 1.52 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.002102, allocations: 37.14 kB / 0.982 GB, free: 1.484 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.461e-05/0.002177, allocations: 51.83 kB / 0.9821 GB, free: 1.434 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.631e-05/0.002223, allocations: 19.91 kB / 0.9821 GB, free: 1.414 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.002248, allocations: 12 kB / 0.9821 GB, free: 1.402 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 7.635e-06/0.002255, allocations: 8 kB / 0.9821 GB, free: 1.395 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.964e-05/0.002275, allocations: 23.91 kB / 0.9821 GB, free: 1.371 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.885e-05/0.002304, allocations: 19.94 kB / 0.9821 GB, free: 1.352 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.002418, allocations: 103.5 kB / 0.9822 GB, free: 1.25 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.00242, allocations: 0 / 0.9822 GB, free: 1.25 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.052e-06/0.002421, allocations: 0 / 0.9822 GB, free: 1.25 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.446e-06/0.002425, allocations: 0 / 0.9822 GB, free: 1.25 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003476/0.002773, allocations: 322.1 kB / 0.9825 GB, free: 0.9023 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.002811, allocations: 12.03 kB / 0.9826 GB, free: 0.8906 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.264e-05/0.002843, allocations: 42.73 kB / 0.9826 GB, free: 0.8398 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.489e-05/0.002868, allocations: 16.84 kB / 0.9826 GB, free: 0.8242 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.003038, allocations: 145.8 kB / 0.9828 GB, free: 0.6562 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.003049, allocations: 8.562 kB / 0.9828 GB, free: 0.6484 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.00306, allocations: 8.312 kB / 0.9828 GB, free: 0.6406 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.0032, allocations: 104.1 kB / 0.9829 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.003207, allocations: 0 / 0.9829 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.003218, allocations: 11.94 kB / 0.9829 GB, free: 0.5156 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.003224, allocations: 7.922 kB / 0.9829 GB, free: 0.5078 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.617e-05/0.00329, allocations: 39.98 kB / 0.9829 GB, free: 480 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004264/0.003717, allocations: 423.6 kB / 0.9833 GB, free: 8 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 6.192e-05/0.003779, allocations: 37.22 kB / 0.9834 GB, free: 15.95 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.792e-05/0.003807, allocations: 17.72 kB / 0.9834 GB, free: 15.93 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.003815, allocations: 0 / 0.9834 GB, free: 15.93 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.003836, allocations: 34.56 kB / 0.9834 GB, free: 15.89 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.003837, allocations: 0 / 0.9834 GB, free: 15.89 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001513/0.003988, allocations: 61.53 kB / 0.9835 GB, free: 15.82 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.004027, allocations: 81.36 kB / 0.9835 GB, free: 15.72 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.004156, allocations: 187.3 kB / 0.9837 GB, free: 15.53 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.297e-06/0.004165, allocations: 25.7 kB / 0.9838 GB, free: 15.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.054e-05/0.004226, allocations: 112 kB / 0.9839 GB, free: 15.38 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.101e-06/0.004232, allocations: 3.953 kB / 0.9839 GB, free: 15.38 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.602e-05/0.004258, allocations: 17.67 kB / 0.9839 GB, free: 15.36 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.387e-05/0.004342, allocations: 330.8 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.347e-05/0.004355, allocations: 4 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.922e-05/0.004375, allocations: 17.72 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.377e-05/0.004408, allocations: 25.66 kB / 0.9842 GB, free: 14.96 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.004411, allocations: 12.2 kB / 0.9843 GB, free: 14.95 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.46e-05/0.004476, allocations: 57.66 kB / 0.9843 GB, free: 14.89 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.004488, allocations: 7.938 kB / 0.9843 GB, free: 14.88 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.004493, allocations: 7.938 kB / 0.9843 GB, free: 14.88 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.004505, allocations: 0 / 0.9843 GB, free: 14.88 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.599e-05/0.004561, allocations: 4 kB / 0.9843 GB, free: 14.87 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.004569, allocations: 3.984 kB / 0.9843 GB, free: 14.87 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.911e-05/0.004588, allocations: 11.89 kB / 0.9843 GB, free: 14.86 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-06/0.004592, allocations: 96 / 0.9843 GB, free: 14.86 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.345e-05/0.004656, allocations: 125.8 kB / 0.9845 GB, free: 14.72 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.00468, allocations: 11.94 kB / 0.9845 GB, free: 14.71 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.068e-05/0.004701, allocations: 12.5 kB / 0.9845 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.004703, allocations: 0 / 0.9845 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.004709, allocations: 3.984 kB / 0.9845 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.004712, allocations: 0 / 0.9845 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004138/0.005125, allocations: 449.8 kB / 0.9849 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.005127, allocations: 0 / 0.9849 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.399e-05/0.005141, allocations: 4 kB / 0.9849 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.005143, allocations: 0 / 0.9849 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.005149, allocations: 8.062 kB / 0.9849 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.005151, allocations: 3.984 kB / 0.9849 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.005153, allocations: 3.938 kB / 0.9849 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.699e-05/0.00521, allocations: 77.89 kB / 0.985 GB, free: 14.08 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.594e-05/0.005236, allocations: 23.88 kB / 0.985 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.005246, allocations: 0 / 0.985 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.011e-05/0.005256, allocations: 0 / 0.985 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.426e-05/0.005271, allocations: 7.938 kB / 0.985 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.005273, allocations: 0 / 0.985 GB, free: 14.05 MB / 0.948 GB Notification: Performance of sorting global known variables: time 7.258e-05/0.005345, allocations: 140.3 kB / 0.9852 GB, free: 13.91 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.005345, allocations: 4.031 kB / 0.9852 GB, free: 13.91 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000211/0.005556, allocations: 11.95 kB / 0.9852 GB, free: 13.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0002785/0.005835, allocations: 0.6132 MB / 0.9858 GB, free: 13.25 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.246e-05/0.005917, allocations: 12 kB / 0.9858 GB, free: 13.24 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.005919, allocations: 0 / 0.9858 GB, free: 13.24 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.246e-06/0.005927, allocations: 7.938 kB / 0.9858 GB, free: 13.23 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.006056, allocations: 11.94 kB / 0.9858 GB, free: 13.22 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009103/0.006967, allocations: 1.401 MB / 0.9872 GB, free: 11.72 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.964e-05/0.007016, allocations: 88.3 kB / 0.9873 GB, free: 11.62 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.635e-05/0.007043, allocations: 12.42 kB / 0.9873 GB, free: 11.61 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.468e-05/0.007087, allocations: 28.48 kB / 0.9873 GB, free: 11.58 MB / 0.948 GB Notification: Performance of SimCode: time 6.41e-07/0.007088, allocations: 4 kB / 0.9873 GB, free: 11.57 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01752/0.02461, allocations: 2.398 MB / 0.9897 GB, free: 9.316 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.646/6.67, allocations: 8.078 kB / 0.9897 GB, free: 9.312 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.956192770972848]