Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_9_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_9_Buildings_Electrical_DC_Sources_Examples_VoltageSource",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.004883/0.004883, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001163/0.001163, allocations: 196.1 kB / 16.68 MB, free: 5.93 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.227/2.227, allocations: 390.3 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 68.02 kB / 0.9504 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7744/0.7762, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003964/0.7802, allocations: 3.207 MB / 1.091 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001789/0.782, allocations: 1.373 MB / 1.092 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.7821, allocations: 4.438 kB / 1.092 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009107/0.783, allocations: 344.7 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002909/0.7833, allocations: 148.4 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.7837, allocations: 149.1 kB / 1.093 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003271/0.784, allocations: 334.2 kB / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004022/0.7844, allocations: 252.7 kB / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.7846, allocations: 136 kB / 1.093 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002553/0.7848, allocations: 156.7 kB / 1.093 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.862e-05/0.7849, allocations: 20.31 kB / 1.093 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000269/0.7852, allocations: 166.1 kB / 1.094 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.241e-05/0.7853, allocations: 88.52 kB / 1.094 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.7854, allocations: 121.4 kB / 1.094 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004285/0.7858, allocations: 349.5 kB / 1.094 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.7858, allocations: 0 / 1.094 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7858, allocations: 1.031 kB / 1.094 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.7859, allocations: 0 / 1.094 GB, free: 1.125 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007439/0.7866, allocations: 0.5464 MB / 1.095 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.7866, allocations: 9.719 kB / 1.095 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.199e-05/0.7867, allocations: 59.59 kB / 1.095 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005789/0.7873, allocations: 80.88 kB / 1.095 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.7876, allocations: 261.2 kB / 1.095 GB, free: 336 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.7876, allocations: 16.86 kB / 1.095 GB, free: 328 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.041e-05/0.7876, allocations: 21.95 kB / 1.095 GB, free: 320 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004914/0.7881, allocations: 319.2 kB / 1.095 GB, free: 144 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.7882, allocations: 1.156 kB / 1.095 GB, free: 144 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.661e-05/0.7882, allocations: 10.34 kB / 1.095 GB, free: 136 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.824e-05/0.7882, allocations: 20.81 kB / 1.095 GB, free: 128 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003887/0.7886, allocations: 211.3 kB / 1.096 GB, free: 60 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001566/0.7902, allocations: 1.488 MB / 1.097 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004242/0.7906, allocations: 202.4 kB / 1.097 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.7908, allocations: 44.22 kB / 1.097 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.7908, allocations: 1.25 kB / 1.097 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.7908, allocations: 36.7 kB / 1.097 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.7908, allocations: 0 / 1.097 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8): time 0.0005698/0.7914, allocations: 270.5 kB / 1.098 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.7914, allocations: 52.41 kB / 1.098 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.7916, allocations: 212 kB / 1.098 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.7917, allocations: 26.73 kB / 1.098 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.7918, allocations: 172.4 kB / 1.098 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.7918, allocations: 31.47 kB / 1.098 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-05/0.7919, allocations: 40.5 kB / 1.098 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.792, allocations: 327.5 kB / 1.098 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.7921, allocations: 43.81 kB / 1.098 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.7922, allocations: 107.9 kB / 1.099 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000244/0.7925, allocations: 167.9 kB / 1.099 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.7925, allocations: 1.125 kB / 1.099 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003739/0.7929, allocations: 209.3 kB / 1.099 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.7929, allocations: 10.41 kB / 1.099 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.7929, allocations: 2.25 kB / 1.099 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001568/0.7931, allocations: 35.86 kB / 1.099 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.7932, allocations: 37.17 kB / 1.099 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001016/0.7943, allocations: 1.424 MB / 1.1 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.7944, allocations: 16.09 kB / 1.1 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.7944, allocations: 10.66 kB / 1.1 GB, free: 11.75 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * 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 prepare postOptimizeDAE: time 0.0001348/0.7946, allocations: 157.6 kB / 1.101 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.071e-05/0.7946, allocations: 19.38 kB / 1.101 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.475e-05/0.7947, allocations: 19.14 kB / 1.101 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.7947, allocations: 1.969 kB / 1.101 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.7947, allocations: 1.219 kB / 1.101 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.7947, allocations: 0.75 kB / 1.101 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006198/0.7953, allocations: 493.5 kB / 1.101 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.7953, allocations: 0.9062 kB / 1.101 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.122e-05/0.7954, allocations: 16.14 kB / 1.101 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.897e-05/0.7955, allocations: 23.78 kB / 1.101 GB, free: 11.19 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.7955, allocations: 4.797 kB / 1.101 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000951/0.7965, allocations: 1.423 MB / 1.102 GB, free: 9.766 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7965, allocations: 0 / 1.102 GB, free: 9.766 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002998/0.7968, allocations: 241.9 kB / 1.103 GB, free: 9.582 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.142e-05/0.7969, allocations: 99.81 kB / 1.103 GB, free: 9.477 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.7969, allocations: 5.719 kB / 1.103 GB, free: 9.473 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.797, allocations: 6.141 kB / 1.103 GB, free: 9.473 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.7971, allocations: 6.484 kB / 1.103 GB, free: 9.473 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.7971, allocations: 1.344 kB / 1.103 GB, free: 9.473 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001265/0.7972, allocations: 153.7 kB / 1.103 GB, free: 9.371 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7972, allocations: 1.188 kB / 1.103 GB, free: 9.371 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003362/0.7976, allocations: 61.02 kB / 1.103 GB, free: 9.355 MB / 0.8731 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 (7): * 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: 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.000556/0.7981, allocations: 0.7726 MB / 1.104 GB, free: 8.641 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004223/0.7986, allocations: 230.8 kB / 1.104 GB, free: 8.492 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7986, allocations: 0 / 1.104 GB, free: 8.492 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.7988, allocations: 156.3 kB / 1.104 GB, free: 8.371 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.7992, allocations: 48.73 kB / 1.104 GB, free: 8.348 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002438/0.8016, allocations: 2.135 MB / 1.106 GB, free: 6.684 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.802, allocations: 0.7612 MB / 1.107 GB, free: 5.973 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001046/0.8021, allocations: 26.81 kB / 1.107 GB, free: 5.969 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.715e-05/0.8022, allocations: 57.45 kB / 1.107 GB, free: 5.926 MB / 0.8731 GB Notification: Performance of SimCode: time 2.61e-07/0.8022, allocations: 0 / 1.107 GB, free: 5.926 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03285/0.835, allocations: 4.013 MB / 1.111 GB, free: 5.352 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.025/9.861, allocations: 15.97 kB / 1.111 GB, free: 5.34 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches