Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.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.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",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.005293/0.005293, 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.001262/0.001262, allocations: 201 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 1.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.765/2.765, allocations: 469.4 MB / 0.7422 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 63.91 kB / 1.064 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2973, allocations: 159.1 MB / 1.22 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002587/0.2999, allocations: 1.673 MB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001945/0.3019, allocations: 1.363 MB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.302, allocations: 7.938 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003759/0.3024, allocations: 91.44 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001639/0.3026, allocations: 75.58 kB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007942/0.3034, allocations: 275.2 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002336/0.3036, allocations: 187.2 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.947e-05/0.3037, allocations: 9.5 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.3038, allocations: 79.69 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.304, allocations: 87.61 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.304, allocations: 12 kB / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005205/0.3045, allocations: 339.4 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.557e-05/0.3046, allocations: 71.78 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.297e-05/0.3047, allocations: 87.42 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005437/0.3053, allocations: 402.6 kB / 1.224 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3053, allocations: 0 / 1.224 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3053, allocations: 0 / 1.224 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.303e-06/0.3053, allocations: 0 / 1.224 GB, free: 9.879 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008689/0.3062, allocations: 0.564 MB / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.3062, allocations: 8.031 kB / 1.225 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.544e-05/0.3063, allocations: 38.75 kB / 1.225 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.776e-05/0.3063, allocations: 24.78 kB / 1.225 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004228/0.3068, allocations: 283.8 kB / 1.225 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.3069, allocations: 67.95 kB / 1.225 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.3069, allocations: 4.375 kB / 1.225 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.3071, allocations: 85.59 kB / 1.225 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.3071, allocations: 7.984 kB / 1.225 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.3071, allocations: 0 / 1.225 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.3072, allocations: 0 / 1.225 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002439/0.3074, allocations: 103.9 kB / 1.225 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002429/0.3077, allocations: 249.4 kB / 1.226 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.309, allocations: 306.3 kB / 1.226 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.3092, allocations: 56.83 kB / 1.226 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001299/0.3093, allocations: 105 kB / 1.226 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.3094, allocations: 30.56 kB / 1.226 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.3094, allocations: 0 / 1.226 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0004767/0.3098, allocations: 205.5 kB / 1.226 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.3099, allocations: 59.34 kB / 1.226 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/0.3102, allocations: 307.1 kB / 1.227 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.3102, allocations: 25.7 kB / 1.227 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.876e-05/0.3103, allocations: 128.6 kB / 1.227 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.3103, allocations: 19.84 kB / 1.227 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.874e-05/0.3104, allocations: 57.64 kB / 1.227 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.3105, allocations: 342.8 kB / 1.227 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.3107, allocations: 151.9 kB / 1.227 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002111/0.3109, allocations: 155.9 kB / 1.228 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003915/0.3113, allocations: 297.4 kB / 1.228 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.3113, allocations: 0 / 1.228 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005216/0.3119, allocations: 404.9 kB / 1.228 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.3119, allocations: 4 kB / 1.228 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.3119, allocations: 8 kB / 1.228 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.3119, allocations: 0 / 1.228 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.312, allocations: 15.98 kB / 1.228 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.312, allocations: 0 / 1.228 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.3122, allocations: 35.66 kB / 1.228 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.3122, allocations: 8.25 kB / 1.228 GB, free: 5.531 MB / 0.9825 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 9.856e-05/0.3123, allocations: 125.8 kB / 1.228 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/0.3123, allocations: 27.8 kB / 1.228 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003563/0.3127, allocations: 171.3 kB / 1.229 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3127, allocations: 0 / 1.229 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3127, allocations: 0 / 1.229 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.3127, allocations: 0 / 1.229 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.3129, allocations: 237.6 kB / 1.229 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.3129, allocations: 7.938 kB / 1.229 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.546e-05/0.313, allocations: 15.98 kB / 1.229 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.313, allocations: 4 kB / 1.229 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.313, allocations: 0 / 1.229 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.313, allocations: 0 / 1.229 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.313, allocations: 0 / 1.229 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.3134, allocations: 192.9 kB / 1.229 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.736e-05/0.3134, allocations: 104.8 kB / 1.229 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.345e-05/0.3135, allocations: 8 kB / 1.229 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.977e-05/0.3136, allocations: 3.984 kB / 1.229 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.3136, allocations: 4 kB / 1.229 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.3136, allocations: 7.938 kB / 1.229 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001623/0.3138, allocations: 197.9 kB / 1.229 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3138, allocations: 4 kB / 1.229 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003847/0.3142, allocations: 115.7 kB / 1.23 GB, free: 4.227 MB / 0.9825 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 (6): * Single equations (assignments): 6 * 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.0009577/0.3152, allocations: 0.8762 MB / 1.23 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004844/0.3157, allocations: 359.2 kB / 1.231 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3157, allocations: 4 kB / 1.231 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.3158, allocations: 59.97 kB / 1.231 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.3161, allocations: 35.23 kB / 1.231 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002817/0.319, allocations: 2.699 MB / 1.233 GB, free: 80 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.3192, allocations: 0.7396 MB / 1.234 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.689e-05/0.3193, allocations: 21 kB / 1.234 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.923e-05/0.3194, allocations: 55.42 kB / 1.234 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of SimCode: time 3.3e-07/0.3194, allocations: 0 / 1.234 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02331/0.3427, allocations: 5.786 MB / 1.24 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.052/8.395, allocations: 11.56 kB / 1.24 GB, free: 9.613 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,T,TMonotone,errMonotone,errNonMonotone Variables in the result:time,T,TExa,TMonotone,errMonotone,errNonMonotone