Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Examples.ConductorInitialization.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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.Examples.ConductorInitialization,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Examples_ConductorInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorInitialization,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Examples_ConductorInitialization",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.009537/0.009536, allocations: 97.08 kB / 15.73 MB, free: 6.055 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.002127/0.002127, allocations: 195.8 kB / 16.67 MB, free: 5.977 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.848/2.848, allocations: 469.8 MB / 0.7425 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 68.06 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2945, allocations: 159.1 MB / 1.22 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.00428/0.2989, allocations: 2.848 MB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003341/0.3022, allocations: 2.215 MB / 1.225 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001976/0.3024, allocations: 11.94 kB / 1.225 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001168/0.3036, allocations: 402 kB / 1.225 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005024/0.3041, allocations: 270.7 kB / 1.226 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008308/0.305, allocations: 355 kB / 1.226 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001941/0.3069, allocations: 1.685 MB / 1.228 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002569/0.3072, allocations: 150.3 kB / 1.228 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007707/0.308, allocations: 0.5961 MB / 1.228 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006752/0.3087, allocations: 482.3 kB / 1.229 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.3088, allocations: 64 kB / 1.229 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000158/0.309, allocations: 64 kB / 1.229 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004667/0.3094, allocations: 414.8 kB / 1.229 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005901/0.31, allocations: 0.5326 MB / 1.23 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001364/0.3114, allocations: 1.331 MB / 1.231 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3114, allocations: 3.938 kB / 1.231 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3114, allocations: 4 kB / 1.231 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.459e-05/0.3115, allocations: 4 kB / 1.231 GB, free: 2.914 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.002732/0.3142, allocations: 1.527 MB / 1.233 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.3142, allocations: 12.03 kB / 1.233 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.098e-05/0.3143, allocations: 62.73 kB / 1.233 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001848/0.3145, allocations: 116.2 kB / 1.233 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001595/0.3161, allocations: 1.009 MB / 1.234 GB, free: 76 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.171e-05/0.3162, allocations: 33.03 kB / 1.234 GB, free: 44 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.3163, allocations: 56.16 kB / 1.234 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008429/0.3171, allocations: 0.5433 MB / 1.235 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.3172, allocations: 0 / 1.235 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.676e-05/0.3172, allocations: 12 kB / 1.235 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.3172, allocations: 8 kB / 1.235 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005714/0.3178, allocations: 353.8 kB / 1.235 GB, free: 15.04 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00628/0.3241, allocations: 3.835 MB / 1.239 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00182/0.3259, allocations: 0.6626 MB / 1.239 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003211/0.3263, allocations: 198.5 kB / 1.239 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.3263, allocations: 4 kB / 1.239 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.3263, allocations: 38.56 kB / 1.239 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=26): time 1.774e-06/0.3263, allocations: 0 / 1.239 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=26): time 0.001415/0.3278, allocations: 0.769 MB / 1.24 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.3278, allocations: 51.41 kB / 1.24 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001993/0.3298, allocations: 1.413 MB / 1.242 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.474e-05/0.3299, allocations: 37.7 kB / 1.242 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004167/0.3303, allocations: 421.2 kB / 1.242 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.3305, allocations: 123 kB / 1.242 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002139/0.3307, allocations: 150.3 kB / 1.242 GB, free: 7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.3309, allocations: 334 kB / 1.243 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000454/0.3313, allocations: 289.1 kB / 1.243 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007142/0.3321, allocations: 0.5862 MB / 1.244 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.3332, allocations: 0.8828 MB / 1.244 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/0.3333, allocations: 4 kB / 1.244 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00217/0.3354, allocations: 1.255 MB / 1.246 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.3355, allocations: 8 kB / 1.246 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.3355, allocations: 12 kB / 1.246 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00133/0.3368, allocations: 453.2 kB / 1.246 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003287/0.3372, allocations: 119.8 kB / 1.246 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5307/0.8679, allocations: 4.677 MB / 1.251 GB, free: 28.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/0.8693, allocations: 226.1 kB / 1.251 GB, free: 28.01 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.098e-05/0.8694, allocations: 36.25 kB / 1.251 GB, free: 28.01 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (61): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004693/0.8698, allocations: 428 kB / 1.251 GB, free: 27.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.87, allocations: 102.2 kB / 1.252 GB, free: 27.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001498/0.8701, allocations: 100.9 kB / 1.252 GB, free: 27.88 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.8701, allocations: 2.719 kB / 1.252 GB, free: 27.88 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.8701, allocations: 0.9375 kB / 1.252 GB, free: 27.88 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.8702, allocations: 8.656 kB / 1.252 GB, free: 27.88 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008277/0.871, allocations: 0.9202 MB / 1.253 GB, free: 27.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.871, allocations: 0.625 kB / 1.253 GB, free: 27.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004242/0.8714, allocations: 93.05 kB / 1.253 GB, free: 27.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001357/0.8716, allocations: 44.17 kB / 1.253 GB, free: 27.69 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.467e-05/0.8716, allocations: 17.86 kB / 1.253 GB, free: 27.69 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007616/0.8724, allocations: 1.53 MB / 1.254 GB, free: 26.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.8724, allocations: 0 / 1.254 GB, free: 26.36 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009611/0.8734, allocations: 0.8315 MB / 1.255 GB, free: 26.17 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003487/0.8737, allocations: 298.9 kB / 1.255 GB, free: 26.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.8739, allocations: 17.59 kB / 1.255 GB, free: 26.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007298/0.8746, allocations: 102.2 kB / 1.255 GB, free: 26.02 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.859e-05/0.8747, allocations: 14.38 kB / 1.255 GB, free: 26.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.8747, allocations: 13.92 kB / 1.255 GB, free: 26.02 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001305/0.876, allocations: 0.9954 MB / 1.256 GB, free: 25.91 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/0.876, allocations: 0.5469 kB / 1.256 GB, free: 25.91 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000943/0.877, allocations: 462.2 kB / 1.257 GB, free: 25.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (conS1.lay[1].T[1],conS1.lay[1].T[2],conS1.lay[1].T[3],conS1.lay[1].T[4],conS1.lay[1].T[5],conS1.lay[2].T[1],conS1.lay[2].T[2],conS1.lay[2].T[3],conS1.lay[2].T[4],conS1.lay[2].T[5]) * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001064/0.878, allocations: 1.381 MB / 1.258 GB, free: 25.18 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001529/0.8796, allocations: 0.9332 MB / 1.259 GB, free: 25.02 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.8796, allocations: 2.75 kB / 1.259 GB, free: 25.02 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003595/0.88, allocations: 331.5 kB / 1.259 GB, free: 24.91 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.8811, allocations: 279.2 kB / 1.26 GB, free: 24.89 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01285/0.894, allocations: 10.38 MB / 1.27 GB, free: 21.47 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000647/0.8946, allocations: 1.157 MB / 1.271 GB, free: 20.69 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006269/0.8953, allocations: 255.7 kB / 1.271 GB, free: 20.67 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004102/0.8957, allocations: 309.8 kB / 1.271 GB, free: 20.43 MB / 0.9981 GB Notification: Performance of SimCode: time 8.42e-07/0.8957, allocations: 0 / 1.271 GB, free: 20.43 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06006/0.9558, allocations: 24.17 MB / 1.295 GB, free: 16.18 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/12.26, allocations: 15.14 kB / 1.295 GB, free: 16.18 MB / 0.9981 GB (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorInitialization.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.HeatTransfer.Examples.ConductorInitialization_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_11_Buildings_HeatTransfer_Examples_ConductorInitialization.fmu > Buildings_11_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorInitialization_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches