Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_10_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.001167/0.001167, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.346/1.346, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.585/2.585, allocations: 437 MB / 0.7104 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 67.89 kB / 0.8693 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5799/0.5812, allocations: 151.6 MB / 1.017 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005352/0.5866, allocations: 3.213 MB / 1.021 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002242/0.5889, allocations: 1.371 MB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.589, allocations: 8 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.59, allocations: 342.7 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004296/0.5905, allocations: 151.2 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005116/0.591, allocations: 147.6 kB / 1.023 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004664/0.5915, allocations: 330.9 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005802/0.5921, allocations: 246 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002446/0.5923, allocations: 139.5 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003059/0.5926, allocations: 143.5 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.842e-05/0.5927, allocations: 20 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003002/0.593, allocations: 171.6 kB / 1.024 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.146e-05/0.5931, allocations: 87.67 kB / 1.024 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.5932, allocations: 123.5 kB / 1.024 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004802/0.5937, allocations: 342.9 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.072e-05/0.5938, allocations: 4 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5938, allocations: 0 / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.5938, allocations: 0 / 1.024 GB, free: 11.7 MB / 0.7794 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.0008789/0.5947, allocations: 0.5457 MB / 1.025 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.5947, allocations: 8.031 kB / 1.025 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.846e-05/0.5948, allocations: 58.67 kB / 1.025 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006088/0.5954, allocations: 84.58 kB / 1.025 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.5957, allocations: 243.9 kB / 1.025 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.5957, allocations: 20.81 kB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.5958, allocations: 16.38 kB / 1.025 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005938/0.5964, allocations: 320.4 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.5964, allocations: 0 / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.742e-05/0.5964, allocations: 11.98 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-05/0.5965, allocations: 16.42 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004547/0.5969, allocations: 217.6 kB / 1.026 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.5986, allocations: 1.501 MB / 1.027 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003975/0.599, allocations: 199.6 kB / 1.027 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.427e-05/0.5991, allocations: 52.83 kB / 1.027 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.5992, allocations: 0 / 1.027 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.5992, allocations: 30.56 kB / 1.027 GB, free: 8.07 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 8.82e-07/0.5992, allocations: 0 / 1.027 GB, free: 8.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0005465/0.5997, allocations: 259.3 kB / 1.028 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.5998, allocations: 59.41 kB / 1.028 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.6, allocations: 200.8 kB / 1.028 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.541e-05/0.6, allocations: 29.7 kB / 1.028 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.6001, allocations: 179.5 kB / 1.028 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.6002, allocations: 31.64 kB / 1.028 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.6003, allocations: 41.61 kB / 1.028 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.6004, allocations: 326.8 kB / 1.028 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.611e-05/0.6005, allocations: 47.97 kB / 1.028 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.6007, allocations: 108.5 kB / 1.028 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003048/0.601, allocations: 164.4 kB / 1.029 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.601, allocations: 0 / 1.029 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000365/0.6014, allocations: 218 kB / 1.029 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.6014, allocations: 4 kB / 1.029 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.6014, allocations: 4 kB / 1.029 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001504/0.6016, allocations: 37.06 kB / 1.029 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.6017, allocations: 35.91 kB / 1.029 GB, free: 6.211 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001124/0.6028, allocations: 1.425 MB / 1.03 GB, free: 4.645 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.603, allocations: 23.73 kB / 1.03 GB, free: 4.621 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.603, allocations: 4 kB / 1.03 GB, free: 4.617 MB / 0.7794 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.0001233/0.6031, allocations: 153.6 kB / 1.03 GB, free: 4.457 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.191e-05/0.6032, allocations: 15.91 kB / 1.031 GB, free: 4.441 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.706e-05/0.6032, allocations: 25.39 kB / 1.031 GB, free: 4.422 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.6032, allocations: 4 kB / 1.031 GB, free: 4.418 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.6032, allocations: 0 / 1.031 GB, free: 4.418 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.6032, allocations: 0 / 1.031 GB, free: 4.418 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006871/0.6039, allocations: 479.6 kB / 1.031 GB, free: 3.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.6039, allocations: 4 kB / 1.031 GB, free: 3.887 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.753e-05/0.604, allocations: 15.98 kB / 1.031 GB, free: 3.871 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-05/0.6041, allocations: 32.84 kB / 1.031 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.6041, allocations: 4 kB / 1.031 GB, free: 3.832 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001162/0.6053, allocations: 1.421 MB / 1.032 GB, free: 2.273 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6053, allocations: 0 / 1.032 GB, free: 2.273 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002898/0.6056, allocations: 240.2 kB / 1.033 GB, free: 2.02 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.442e-05/0.6057, allocations: 96.91 kB / 1.033 GB, free: 1.906 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.6057, allocations: 4 kB / 1.033 GB, free: 1.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.6058, allocations: 8 kB / 1.033 GB, free: 1.895 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.6059, allocations: 11.92 kB / 1.033 GB, free: 1.883 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.6059, allocations: 0 / 1.033 GB, free: 1.883 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001618/0.6061, allocations: 152.4 kB / 1.033 GB, free: 1.734 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6061, allocations: 0 / 1.033 GB, free: 1.734 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003318/0.6064, allocations: 59.78 kB / 1.033 GB, free: 1.676 MB / 0.7794 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.0005209/0.6069, allocations: 0.7761 MB / 1.034 GB, free: 0.8711 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000415/0.6074, allocations: 242.7 kB / 1.034 GB, free: 0.6211 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6074, allocations: 288 / 1.034 GB, free: 0.6211 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002043/0.6076, allocations: 158.7 kB / 1.034 GB, free: 464 kB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.608, allocations: 48.86 kB / 1.034 GB, free: 416 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002481/0.6104, allocations: 2.143 MB / 1.036 GB, free: 14.12 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.6108, allocations: 0.7554 MB / 1.037 GB, free: 13.34 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001069/0.6109, allocations: 25.53 kB / 1.037 GB, free: 13.31 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.369e-05/0.611, allocations: 63.36 kB / 1.037 GB, free: 13.25 MB / 0.795 GB Notification: Performance of SimCode: time 3.31e-07/0.611, allocations: 0 / 1.037 GB, free: 13.25 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/0.6349, allocations: 3.933 MB / 1.041 GB, free: 9.441 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.843/9.478, allocations: 0 / 1.041 GB, free: 9.441 MB / 0.795 GB (rm -f Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches