Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.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.0007605/0.0007605, 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.0007959/0.0007959, 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.8401/0.8401, 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.671/1.671, allocations: 377.8 MB / 0.6221 GB, free: 8.66 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.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.9809 GB, free: 2.602 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.263e-05, allocations: 5.094 kB / 0.9809 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.00177/0.001793, allocations: 1.637 MB / 0.9825 GB, free: 0.9492 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001669/0.003462, allocations: 1.285 MB / 0.9838 GB, free: 15.66 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.229e-05/0.003554, allocations: 7.938 kB / 0.9838 GB, free: 15.65 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.000322/0.003876, allocations: 75.55 kB / 0.9839 GB, free: 15.57 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 9.705e-05/0.003973, allocations: 79.45 kB / 0.984 GB, free: 15.5 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005698/0.004543, allocations: 290.3 kB / 0.9842 GB, free: 15.21 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.004727, allocations: 195.1 kB / 0.9844 GB, free: 15.02 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.201e-05/0.004769, allocations: 9.688 kB / 0.9844 GB, free: 15.01 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.004889, allocations: 99.78 kB / 0.9845 GB, free: 14.91 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.782e-05/0.004987, allocations: 79.77 kB / 0.9846 GB, free: 14.84 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.005004, allocations: 8 kB / 0.9846 GB, free: 14.83 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003897/0.005394, allocations: 331.3 kB / 0.9849 GB, free: 14.5 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 7.335e-05/0.005467, allocations: 75.73 kB / 0.985 GB, free: 14.43 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 4.764e-05/0.005515, allocations: 55.86 kB / 0.985 GB, free: 14.38 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000374/0.005889, allocations: 438.8 kB / 0.9855 GB, free: 13.95 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.005891, allocations: 0 / 0.9855 GB, free: 13.95 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.313e-06/0.005893, allocations: 4 kB / 0.9855 GB, free: 13.94 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.005897, allocations: 0 / 0.9855 GB, free: 13.94 MB / 0.948 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.0006014/0.006499, allocations: 492.6 kB / 0.9859 GB, free: 13.43 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.006537, allocations: 8.031 kB / 0.9859 GB, free: 13.42 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.347e-05/0.00657, allocations: 38.75 kB / 0.986 GB, free: 13.38 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.961e-05/0.00661, allocations: 20.8 kB / 0.986 GB, free: 13.36 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/0.006929, allocations: 221.9 kB / 0.9862 GB, free: 13.11 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/0.007041, allocations: 152.9 kB / 0.9864 GB, free: 12.93 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.007052, allocations: 4.375 kB / 0.9864 GB, free: 12.93 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.007185, allocations: 82.22 kB / 0.9864 GB, free: 12.84 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.007192, allocations: 4.125 kB / 0.9864 GB, free: 12.84 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.007204, allocations: 7.938 kB / 0.9865 GB, free: 12.83 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.007209, allocations: 4 kB / 0.9865 GB, free: 12.82 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.00734, allocations: 99.92 kB / 0.9866 GB, free: 12.73 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001755/0.007516, allocations: 220.5 kB / 0.9868 GB, free: 12.47 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006335/0.008149, allocations: 294.3 kB / 0.987 GB, free: 12.17 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.915e-05/0.008218, allocations: 56.83 kB / 0.9871 GB, free: 12.11 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.048e-05/0.008299, allocations: 27.89 kB / 0.9871 GB, free: 12.09 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.457e-05/0.008313, allocations: 30.56 kB / 0.9872 GB, free: 12.05 MB / 0.948 GB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.008314, allocations: 0 / 0.9872 GB, free: 12.05 MB / 0.948 GB Notification: Performance of matching and sorting (n=6): time 0.0002819/0.008596, allocations: 205.4 kB / 0.9873 GB, free: 11.84 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.008621, allocations: 55.41 kB / 0.9874 GB, free: 11.77 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.0088, allocations: 308.4 kB / 0.9877 GB, free: 11.47 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.008811, allocations: 25.7 kB / 0.9877 GB, free: 11.44 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.557e-05/0.008867, allocations: 132.5 kB / 0.9878 GB, free: 11.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.008885, allocations: 15.84 kB / 0.9879 GB, free: 11.29 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.074e-05/0.008936, allocations: 65.58 kB / 0.9879 GB, free: 11.22 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.964e-05/0.009016, allocations: 334.8 kB / 0.9882 GB, free: 10.88 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.009141, allocations: 151.9 kB / 0.9884 GB, free: 10.73 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.009253, allocations: 163.7 kB / 0.9885 GB, free: 10.57 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.00947, allocations: 291.8 kB / 0.9888 GB, free: 10.29 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.009473, allocations: 0 / 0.9888 GB, free: 10.29 MB / 0.948 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000292/0.009765, allocations: 397.1 kB / 0.9892 GB, free: 9.895 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.009777, allocations: 8 kB / 0.9892 GB, free: 9.887 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.009789, allocations: 7.922 kB / 0.9892 GB, free: 9.879 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.0098, allocations: 0 / 0.9892 GB, free: 9.879 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.74e-05/0.009847, allocations: 15.94 kB / 0.9892 GB, free: 9.863 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.009852, allocations: 0 / 0.9892 GB, free: 9.863 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.818e-05/0.00991, allocations: 43.66 kB / 0.9893 GB, free: 9.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.009916, allocations: 0 / 0.9893 GB, free: 9.82 MB / 0.948 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 7.252e-05/0.009989, allocations: 129.8 kB / 0.9894 GB, free: 9.684 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.342e-05/0.01, allocations: 19.86 kB / 0.9894 GB, free: 9.664 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002057/0.01021, allocations: 175.3 kB / 0.9896 GB, free: 9.48 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.01021, allocations: 8.234 kB / 0.9896 GB, free: 9.473 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.01021, allocations: 0 / 0.9896 GB, free: 9.473 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.01022, allocations: 3.984 kB / 0.9896 GB, free: 9.469 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.01033, allocations: 204.7 kB / 0.9898 GB, free: 9.227 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01033, allocations: 4 kB / 0.9898 GB, free: 9.223 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.812e-05/0.01037, allocations: 19.92 kB / 0.9898 GB, free: 9.203 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.01037, allocations: 0 / 0.9898 GB, free: 9.203 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.01038, allocations: 7.938 kB / 0.9898 GB, free: 9.195 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.01038, allocations: 0 / 0.9898 GB, free: 9.195 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01039, allocations: 3.938 kB / 0.9898 GB, free: 9.191 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.01055, allocations: 184.9 kB / 0.99 GB, free: 8.992 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.32e-05/0.01059, allocations: 31.8 kB / 0.99 GB, free: 8.961 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.01061, allocations: 3.938 kB / 0.99 GB, free: 8.957 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.419e-05/0.01065, allocations: 4 kB / 0.99 GB, free: 8.953 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.01068, allocations: 7.984 kB / 0.99 GB, free: 8.945 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.01068, allocations: 4 kB / 0.99 GB, free: 8.941 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001155/0.0108, allocations: 203 kB / 0.9902 GB, free: 8.742 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.0108, allocations: 0 / 0.9902 GB, free: 8.742 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002444/0.01104, allocations: 115.7 kB / 0.9904 GB, free: 8.629 MB / 0.948 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.0007533/0.01179, allocations: 0.8776 MB / 0.9912 GB, free: 7.723 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002888/0.01208, allocations: 323.1 kB / 0.9915 GB, free: 7.395 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.01208, allocations: 0 / 0.9915 GB, free: 7.395 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.476e-05/0.01215, allocations: 55.97 kB / 0.9916 GB, free: 7.34 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.01234, allocations: 37.17 kB / 0.9916 GB, free: 7.305 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/0.01419, allocations: 2.708 MB / 0.9943 GB, free: 4.508 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.141e-05/0.01426, allocations: 128 kB / 0.9944 GB, free: 4.367 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.653e-05/0.01431, allocations: 21.14 kB / 0.9944 GB, free: 4.348 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.325e-05/0.01438, allocations: 60.48 kB / 0.9945 GB, free: 4.289 MB / 0.948 GB Notification: Performance of SimCode: time 6.01e-07/0.01438, allocations: 0 / 0.9945 GB, free: 4.289 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01913/0.03351, allocations: 6.69 MB / 1.001 GB, free: 13.79 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.342/6.375, allocations: 8.703 kB / 1.001 GB, free: 13.79 MB / 0.9636 GB " [Timeout remaining time 294] (rm -f Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,T,TMonotone,errMonotone,errNonMonotone Variables in the result:time,T,TExa,TMonotone,errMonotone,errNonMonotone [Calling sys.exit(0), Time elapsed: 10.396935435943305]