Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_latest_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.007347/0.007347, allocations: 101.1 kB / 15.73 MB, free: 6.062 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.001999/0.001999, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.916/2.916, allocations: 482.4 MB / 0.7548 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 67.83 kB / 1.083 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2785, allocations: 162.2 MB / 1.241 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005067/0.2836, allocations: 3.215 MB / 1.245 GB, free: 7 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002317/0.286, allocations: 1.363 MB / 1.246 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001714/0.2862, allocations: 4 kB / 1.246 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.2872, allocations: 342.5 kB / 1.246 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003797/0.2876, allocations: 151.2 kB / 1.246 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004083/0.2881, allocations: 147.6 kB / 1.247 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000435/0.2885, allocations: 326.9 kB / 1.247 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004518/0.289, allocations: 259.6 kB / 1.247 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/0.2892, allocations: 139.5 kB / 1.247 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002993/0.2895, allocations: 147.5 kB / 1.247 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.447e-05/0.2895, allocations: 20 kB / 1.247 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003204/0.2899, allocations: 171.6 kB / 1.248 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.29, allocations: 91.72 kB / 1.248 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001383/0.2901, allocations: 115.5 kB / 1.248 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004916/0.2906, allocations: 362.6 kB / 1.248 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2906, allocations: 0 / 1.248 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2907, allocations: 0 / 1.248 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.445e-05/0.2907, allocations: 3.984 kB / 1.248 GB, free: 3.387 MB / 0.9981 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.0008891/0.2916, allocations: 0.5376 MB / 1.249 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.2916, allocations: 12.03 kB / 1.249 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.881e-05/0.2917, allocations: 62.72 kB / 1.249 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006063/0.2923, allocations: 80.69 kB / 1.249 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003354/0.2926, allocations: 260.8 kB / 1.249 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.2927, allocations: 16.81 kB / 1.249 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.657e-05/0.2927, allocations: 20.38 kB / 1.249 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005149/0.2932, allocations: 320.4 kB / 1.249 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.2933, allocations: 0 / 1.249 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.471e-05/0.2933, allocations: 11.98 kB / 1.249 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.435e-05/0.2933, allocations: 20.42 kB / 1.249 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003995/0.2937, allocations: 213.5 kB / 1.25 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001645/0.2954, allocations: 1.49 MB / 1.251 GB, free: 80 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4729/0.7683, allocations: 193.4 kB / 1.251 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.7685, allocations: 46.98 kB / 1.251 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.7685, allocations: 1.312 kB / 1.251 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.7685, allocations: 37.94 kB / 1.251 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 2.064e-06/0.7686, allocations: 0.9688 kB / 1.251 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0005732/0.7691, allocations: 264.4 kB / 1.252 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2e-05/0.7692, allocations: 56.52 kB / 1.252 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.7694, allocations: 204 kB / 1.252 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.7694, allocations: 30.73 kB / 1.252 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.61e-05/0.7695, allocations: 181.3 kB / 1.252 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.7695, allocations: 30 kB / 1.252 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.985e-05/0.7695, allocations: 36.81 kB / 1.252 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.31e-05/0.7696, allocations: 330.5 kB / 1.252 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.7697, allocations: 45.64 kB / 1.252 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.7698, allocations: 109.4 kB / 1.253 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000213/0.77, allocations: 174.5 kB / 1.253 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.7701, allocations: 0.8438 kB / 1.253 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003553/0.7704, allocations: 212 kB / 1.253 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.7704, allocations: 11.44 kB / 1.253 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.7705, allocations: 2.594 kB / 1.253 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001566/0.7706, allocations: 29.88 kB / 1.253 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.7708, allocations: 33.12 kB / 1.253 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007342/0.7715, allocations: 1.428 MB / 1.254 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.7717, allocations: 24.64 kB / 1.254 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.7717, allocations: 9.781 kB / 1.254 GB, free: 12.82 MB / 0.9981 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.0001031/0.7718, allocations: 157.8 kB / 1.255 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.969e-05/0.7718, allocations: 16.16 kB / 1.255 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.145e-05/0.7719, allocations: 17.84 kB / 1.255 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.7719, allocations: 0.8438 kB / 1.255 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.7719, allocations: 1.656 kB / 1.255 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.7719, allocations: 0 / 1.255 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005437/0.7724, allocations: 492.2 kB / 1.255 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.7725, allocations: 3.438 kB / 1.255 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.651e-05/0.7725, allocations: 11.55 kB / 1.255 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.766e-05/0.7726, allocations: 24.08 kB / 1.255 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.7726, allocations: 4.188 kB / 1.255 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000645/0.7733, allocations: 1.422 MB / 1.256 GB, free: 11 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7733, allocations: 0 / 1.256 GB, free: 11 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.7736, allocations: 241 kB / 1.257 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.172e-05/0.7736, allocations: 102.4 kB / 1.257 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.7736, allocations: 0.6094 kB / 1.257 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.7738, allocations: 9.766 kB / 1.257 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.7738, allocations: 12.61 kB / 1.257 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.7738, allocations: 5.547 kB / 1.257 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001071/0.774, allocations: 152.6 kB / 1.257 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.774, allocations: 0 / 1.257 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003357/0.7743, allocations: 59.27 kB / 1.257 GB, free: 10.66 MB / 0.9981 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.0003943/0.7747, allocations: 0.7745 MB / 1.258 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003814/0.7751, allocations: 236.3 kB / 1.258 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7751, allocations: 0 / 1.258 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001797/0.7753, allocations: 158.8 kB / 1.258 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.7757, allocations: 36.39 kB / 1.258 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.7777, allocations: 2.15 MB / 1.26 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.7778, allocations: 0.7533 MB / 1.261 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.617e-05/0.7779, allocations: 27.94 kB / 1.261 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.397e-05/0.778, allocations: 56.64 kB / 1.261 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/0.778, allocations: 0.8438 kB / 1.261 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02701/0.805, allocations: 4.03 MB / 1.265 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.381/10.19, allocations: 7.031 kB / 1.265 GB, free: 6.746 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches