Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",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.008225/0.008225, allocations: 101.2 kB / 15.73 MB, free: 6.027 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.001463/0.001463, allocations: 194.7 kB / 16.67 MB, free: 5.961 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.782/2.782, allocations: 469.4 MB / 0.7422 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 64.12 kB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2802, allocations: 159.1 MB / 1.22 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002044/0.2823, allocations: 0.8777 MB / 1.221 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001425/0.2825, allocations: 55.7 kB / 1.221 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.151e-05/0.2825, allocations: 4 kB / 1.221 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.079e-05/0.2826, allocations: 7.875 kB / 1.221 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.07e-05/0.2827, allocations: 15.86 kB / 1.221 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.721e-05/0.2827, allocations: 23.98 kB / 1.221 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.2829, allocations: 79.77 kB / 1.221 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.283, allocations: 53.08 kB / 1.221 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.694e-05/0.2831, allocations: 35.8 kB / 1.221 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.254e-05/0.2831, allocations: 43.72 kB / 1.221 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.2832, allocations: 8 kB / 1.221 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.075e-05/0.2832, allocations: 8 kB / 1.221 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.334e-05/0.2832, allocations: 19.92 kB / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.915e-05/0.2832, allocations: 35.75 kB / 1.221 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.2834, allocations: 103.5 kB / 1.221 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2834, allocations: 4 kB / 1.221 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.557e-06/0.2834, allocations: 0 / 1.221 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.2834, allocations: 3.938 kB / 1.221 GB, free: 13.27 MB / 0.9825 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.0004625/0.2839, allocations: 399.2 kB / 1.221 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2839, allocations: 8.031 kB / 1.221 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.933e-05/0.284, allocations: 46.73 kB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.284, allocations: 16.84 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.2842, allocations: 204.4 kB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.2842, allocations: 4.562 kB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.2843, allocations: 8.375 kB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.2844, allocations: 117.2 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.2844, allocations: 4 kB / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.2845, allocations: 0 / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.2845, allocations: 4 kB / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.126e-05/0.2846, allocations: 43.98 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005129/0.2851, allocations: 464.5 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.365e-05/0.2851, allocations: 37.22 kB / 1.222 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.693e-05/0.2852, allocations: 25.7 kB / 1.222 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.2852, allocations: 4 kB / 1.222 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.2852, allocations: 30.56 kB / 1.222 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.2852, allocations: 0 / 1.222 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001701/0.2854, allocations: 53.8 kB / 1.222 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.2855, allocations: 85.11 kB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.2856, allocations: 187.1 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.2856, allocations: 29.7 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.665e-05/0.2857, allocations: 108 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.297e-06/0.2857, allocations: 7.891 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.2858, allocations: 21.7 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.2859, allocations: 319.1 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.097e-05/0.2859, allocations: 15.98 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.253e-05/0.2859, allocations: 21.66 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.034e-05/0.286, allocations: 29.66 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.286, allocations: 0 / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.877e-05/0.2861, allocations: 61.59 kB / 1.223 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.2861, allocations: 4 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.2861, allocations: 4.062 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.2861, allocations: 3.938 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.821e-05/0.2862, allocations: 8 kB / 1.223 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.2862, allocations: 0 / 1.223 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.505e-05/0.2862, allocations: 15.89 kB / 1.223 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.2863, allocations: 0 / 1.223 GB, free: 10.65 MB / 0.9825 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.821e-05/0.2863, allocations: 117.8 kB / 1.223 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.632e-05/0.2864, allocations: 7.953 kB / 1.223 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.443e-05/0.2864, allocations: 12.66 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.2864, allocations: 7.984 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.2864, allocations: 4 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.2865, allocations: 3.938 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003642/0.2868, allocations: 474.8 kB / 1.224 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2868, allocations: 0 / 1.224 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.861e-05/0.2869, allocations: 4 kB / 1.224 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.2869, allocations: 3.938 kB / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.2869, allocations: 8.062 kB / 1.224 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2869, allocations: 0 / 1.224 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2869, allocations: 0 / 1.224 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.789e-05/0.287, allocations: 81.83 kB / 1.224 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.7e-05/0.287, allocations: 93.05 kB / 1.224 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.2871, allocations: 7.938 kB / 1.224 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.169e-05/0.2871, allocations: 0 / 1.224 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.255e-05/0.2871, allocations: 4.031 kB / 1.224 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.2871, allocations: 0 / 1.224 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.611e-05/0.2872, allocations: 136.3 kB / 1.224 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2872, allocations: 0 / 1.224 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001945/0.2874, allocations: 15.95 kB / 1.224 GB, free: 9.578 MB / 0.9825 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.0003729/0.2878, allocations: 0.6171 MB / 1.225 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.816e-05/0.2879, allocations: 16 kB / 1.225 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.2879, allocations: 3.938 kB / 1.225 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.334e-05/0.2879, allocations: 15.88 kB / 1.225 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/0.2881, allocations: 11.08 kB / 1.225 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.2892, allocations: 1.411 MB / 1.226 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.2895, allocations: 0.7002 MB / 1.227 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.301e-05/0.2895, allocations: 12.55 kB / 1.227 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.284e-05/0.2896, allocations: 31.42 kB / 1.227 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.2896, allocations: 0 / 1.227 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01667/0.3063, allocations: 1.737 MB / 1.229 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.139/7.445, allocations: 12.25 kB / 1.229 GB, free: 4.973 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches