Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.0007784/0.0007784, 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.0008111/0.0008111, allocations: 169.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.9073/0.9073, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.754/1.754, allocations: 377.8 MB / 0.6221 GB, free: 8.668 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.From_degC,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.981 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.053e-05/2.234e-05, allocations: 2.281 kB / 0.981 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.001546/0.001568, allocations: 0.8402 MB / 0.9818 GB, free: 1.754 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001252/0.001693, allocations: 51.78 kB / 0.9818 GB, free: 1.703 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.795e-05/0.001751, allocations: 0 / 0.9818 GB, free: 1.703 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 4.524e-05/0.001796, allocations: 19.8 kB / 0.9819 GB, free: 1.684 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.404e-05/0.00188, allocations: 7.875 kB / 0.9819 GB, free: 1.676 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 5.784e-05/0.001938, allocations: 23.97 kB / 0.9819 GB, free: 1.652 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.002048, allocations: 87.75 kB / 0.982 GB, free: 1.566 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.002178, allocations: 41.09 kB / 0.982 GB, free: 1.527 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.27e-05/0.002251, allocations: 51.83 kB / 0.9821 GB, free: 1.477 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.485e-05/0.002296, allocations: 19.91 kB / 0.9821 GB, free: 1.457 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.00232, allocations: 8 kB / 0.9821 GB, free: 1.449 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 7.764e-06/0.002328, allocations: 8 kB / 0.9821 GB, free: 1.441 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.026e-05/0.002348, allocations: 23.91 kB / 0.9821 GB, free: 1.418 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.667e-05/0.002375, allocations: 27.86 kB / 0.9821 GB, free: 1.391 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.002487, allocations: 95.66 kB / 0.9822 GB, free: 1.297 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.002489, allocations: 0 / 0.9822 GB, free: 1.297 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.493e-06/0.002491, allocations: 0 / 0.9822 GB, free: 1.297 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.002495, allocations: 4 kB / 0.9822 GB, free: 1.293 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.0003687/0.002863, allocations: 318.1 kB / 0.9825 GB, free: 0.9492 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.002904, allocations: 12.03 kB / 0.9826 GB, free: 0.9375 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.324e-05/0.002937, allocations: 38.75 kB / 0.9826 GB, free: 0.8906 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.638e-05/0.002963, allocations: 16.78 kB / 0.9826 GB, free: 0.875 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.003136, allocations: 145.8 kB / 0.9827 GB, free: 0.707 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.003148, allocations: 12.56 kB / 0.9828 GB, free: 0.6953 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.003159, allocations: 8.375 kB / 0.9828 GB, free: 0.6875 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.003304, allocations: 119.9 kB / 0.9829 GB, free: 0.5586 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.003313, allocations: 0 / 0.9829 GB, free: 0.5586 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.003323, allocations: 8 kB / 0.9829 GB, free: 0.5508 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.00333, allocations: 4 kB / 0.9829 GB, free: 0.5469 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.757e-05/0.003398, allocations: 35.98 kB / 0.9829 GB, free: 0.5117 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004643/0.003862, allocations: 419.6 kB / 0.9833 GB, free: 56 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 5.425e-05/0.003916, allocations: 33.22 kB / 0.9834 GB, free: 4 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.257e-05/0.003959, allocations: 17.78 kB / 0.9834 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.135e-06/0.003967, allocations: 4 kB / 0.9834 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.003992, allocations: 38.48 kB / 0.9834 GB, free: 15.93 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.003993, allocations: 4 kB / 0.9834 GB, free: 15.93 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001583/0.004151, allocations: 57.55 kB / 0.9835 GB, free: 15.86 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.004193, allocations: 85.05 kB / 0.9836 GB, free: 15.76 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.00433, allocations: 183.3 kB / 0.9837 GB, free: 15.57 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.268e-06/0.004339, allocations: 25.7 kB / 0.9838 GB, free: 15.54 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.427e-05/0.004394, allocations: 108 kB / 0.9839 GB, free: 15.43 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.097e-06/0.004403, allocations: 16.16 kB / 0.9839 GB, free: 15.41 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-05/0.004428, allocations: 13.67 kB / 0.9839 GB, free: 15.39 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.856e-05/0.004517, allocations: 330.7 kB / 0.9842 GB, free: 15.06 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.413e-05/0.004531, allocations: 8.25 kB / 0.9842 GB, free: 15.05 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.999e-05/0.004551, allocations: 25.7 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.521e-05/0.004586, allocations: 29.66 kB / 0.9843 GB, free: 14.99 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.004588, allocations: 0 / 0.9843 GB, free: 14.99 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.725e-05/0.004645, allocations: 49.66 kB / 0.9843 GB, free: 14.93 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.004663, allocations: 8 kB / 0.9843 GB, free: 14.93 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.004671, allocations: 3.984 kB / 0.9843 GB, free: 14.92 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.004683, allocations: 0 / 0.9843 GB, free: 14.92 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.053e-05/0.004744, allocations: 8 kB / 0.9843 GB, free: 14.91 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.004752, allocations: 12 kB / 0.9843 GB, free: 14.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.139e-05/0.004773, allocations: 7.891 kB / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.004779, allocations: 4 kB / 0.9844 GB, free: 14.89 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 7.752e-05/0.004856, allocations: 117.8 kB / 0.9845 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.004881, allocations: 7.953 kB / 0.9845 GB, free: 14.76 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.719e-05/0.004908, allocations: 16.48 kB / 0.9845 GB, free: 14.74 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.004911, allocations: 0 / 0.9845 GB, free: 14.74 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.004916, allocations: 0 / 0.9845 GB, free: 14.74 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.004921, allocations: 4 kB / 0.9845 GB, free: 14.74 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/0.005211, allocations: 445.8 kB / 0.9849 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.005215, allocations: 7.984 kB / 0.9849 GB, free: 14.24 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.297e-05/0.005228, allocations: 0 / 0.9849 GB, free: 14.24 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.005232, allocations: 4 kB / 0.9849 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.005239, allocations: 0 / 0.9849 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.005242, allocations: 0 / 0.9849 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.005244, allocations: 3.938 kB / 0.9849 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.658e-05/0.00531, allocations: 77.89 kB / 0.985 GB, free: 14.13 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.647e-05/0.005337, allocations: 19.89 kB / 0.985 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.005349, allocations: 4 kB / 0.985 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.114e-05/0.00536, allocations: 4.062 kB / 0.985 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.51e-05/0.005375, allocations: 11.94 kB / 0.985 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/0.005377, allocations: 0 / 0.985 GB, free: 14.09 MB / 0.948 GB Notification: Performance of sorting global known variables: time 7.848e-05/0.005455, allocations: 140.3 kB / 0.9852 GB, free: 13.96 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005455, allocations: 0 / 0.9852 GB, free: 13.96 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001327/0.005588, allocations: 8 kB / 0.9852 GB, free: 13.95 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.0003096/0.005897, allocations: 0.6132 MB / 0.9858 GB, free: 13.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000109/0.006006, allocations: 19.88 kB / 0.9858 GB, free: 13.29 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.006009, allocations: 4.156 kB / 0.9858 GB, free: 13.28 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.654e-06/0.006016, allocations: 7.938 kB / 0.9858 GB, free: 13.27 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.006172, allocations: 17.81 kB / 0.9858 GB, free: 13.26 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.00723, allocations: 1.389 MB / 0.9872 GB, free: 11.77 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.429e-05/0.007295, allocations: 88.3 kB / 0.9873 GB, free: 11.66 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.329e-05/0.007328, allocations: 8.625 kB / 0.9873 GB, free: 11.66 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.249e-05/0.00738, allocations: 36.42 kB / 0.9873 GB, free: 11.62 MB / 0.948 GB Notification: Performance of SimCode: time 8.92e-07/0.007381, allocations: 4 kB / 0.9873 GB, free: 11.62 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01567/0.02305, allocations: 2.402 MB / 0.9897 GB, free: 9.355 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.734/6.757, allocations: 8 kB / 0.9897 GB, free: 9.348 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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_From_degC.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.939919016323984]