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.006782/0.006782, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001539/0.001539, allocations: 190.4 kB / 16.67 MB, free: 5.98 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.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.291/2.291, allocations: 390.3 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 66.36 kB / 0.9504 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2278, allocations: 140.4 MB / 1.087 GB, free: 2.039 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004218/0.2321, allocations: 3.196 MB / 1.091 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001855/0.2339, allocations: 1.387 MB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.2341, allocations: 4 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009141/0.235, allocations: 334.7 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002837/0.2353, allocations: 151.2 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003062/0.2356, allocations: 145.5 kB / 1.093 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003106/0.2359, allocations: 334.6 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003895/0.2363, allocations: 254.5 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.2365, allocations: 139.5 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002368/0.2367, allocations: 147.4 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.125e-05/0.2368, allocations: 20 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000237/0.237, allocations: 167.6 kB / 1.094 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.208e-05/0.2371, allocations: 87.8 kB / 1.094 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.2372, allocations: 123.4 kB / 1.094 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003473/0.2376, allocations: 355.7 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2376, allocations: 0 / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2376, allocations: 0 / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.2376, allocations: 0 / 1.094 GB, free: 11.21 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.0007737/0.2384, allocations: 0.5419 MB / 1.095 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.2384, allocations: 8.031 kB / 1.095 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.792e-05/0.2385, allocations: 58.73 kB / 1.095 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005404/0.239, allocations: 76.58 kB / 1.095 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.2393, allocations: 267.7 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.2394, allocations: 16.81 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.2394, allocations: 24.31 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004474/0.2398, allocations: 316.5 kB / 1.095 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.2399, allocations: 3.938 kB / 1.095 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.152e-05/0.2399, allocations: 15.94 kB / 1.095 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.112e-05/0.2399, allocations: 12.44 kB / 1.095 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004264/0.2404, allocations: 217.5 kB / 1.096 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/0.2418, allocations: 1.49 MB / 1.097 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003883/0.2422, allocations: 203.7 kB / 1.097 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.299e-05/0.2423, allocations: 44.84 kB / 1.097 GB, free: 7.633 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.2423, allocations: 3.938 kB / 1.097 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.2423, allocations: 34.56 kB / 1.097 GB, free: 7.586 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.2423, allocations: 0 / 1.097 GB, free: 7.586 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.000532/0.2429, allocations: 259.4 kB / 1.098 GB, free: 7.305 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.2429, allocations: 55.41 kB / 1.098 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.2431, allocations: 211.6 kB / 1.098 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.2431, allocations: 29.7 kB / 1.098 GB, free: 6.988 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.688e-05/0.2432, allocations: 179.6 kB / 1.098 GB, free: 6.805 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.2432, allocations: 27.61 kB / 1.098 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.496e-05/0.2433, allocations: 33.72 kB / 1.098 GB, free: 6.738 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.455e-05/0.2434, allocations: 322.8 kB / 1.098 GB, free: 6.414 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.422e-05/0.2435, allocations: 47.97 kB / 1.098 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.2436, allocations: 114.3 kB / 1.099 GB, free: 6.227 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.2439, allocations: 168.4 kB / 1.099 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.2439, allocations: 0 / 1.099 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003518/0.2442, allocations: 210 kB / 1.099 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.2442, allocations: 8.094 kB / 1.099 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.2443, allocations: 7.875 kB / 1.099 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001475/0.2444, allocations: 37.06 kB / 1.099 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.2445, allocations: 27.98 kB / 1.099 GB, free: 5.734 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009495/0.2455, allocations: 1.425 MB / 1.1 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.2456, allocations: 19.84 kB / 1.1 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.2457, allocations: 8 kB / 1.1 GB, free: 4.141 MB / 0.8575 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.0001137/0.2458, allocations: 155.4 kB / 1.101 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.782e-05/0.2458, allocations: 15.81 kB / 1.101 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.627e-05/0.2459, allocations: 21.5 kB / 1.101 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.2459, allocations: 0 / 1.101 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.2459, allocations: 3.938 kB / 1.101 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.2459, allocations: 4.047 kB / 1.101 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005663/0.2465, allocations: 0.4912 MB / 1.101 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.2465, allocations: 0 / 1.101 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.482e-05/0.2466, allocations: 8 kB / 1.101 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.697e-05/0.2466, allocations: 32.83 kB / 1.101 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.2467, allocations: 0 / 1.101 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008356/0.2475, allocations: 1.422 MB / 1.103 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2475, allocations: 0 / 1.103 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.2478, allocations: 240 kB / 1.103 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.284e-05/0.2479, allocations: 96.92 kB / 1.103 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/0.2479, allocations: 8.078 kB / 1.103 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.248, allocations: 8 kB / 1.103 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.2481, allocations: 7.984 kB / 1.103 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.415e-06/0.2481, allocations: 4 kB / 1.103 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001269/0.2482, allocations: 153.4 kB / 1.103 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.2483, allocations: 0 / 1.103 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003116/0.2486, allocations: 55.84 kB / 1.103 GB, free: 1.191 MB / 0.8575 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.0005162/0.2491, allocations: 0.7677 MB / 1.104 GB, free: 400 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004012/0.2495, allocations: 231 kB / 1.104 GB, free: 156 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2495, allocations: 4.062 kB / 1.104 GB, free: 152 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.2497, allocations: 154.7 kB / 1.104 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.2501, allocations: 40.05 kB / 1.104 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.2522, allocations: 2.147 MB / 1.106 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.2525, allocations: 0.7592 MB / 1.107 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.272e-05/0.2526, allocations: 25.53 kB / 1.107 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.848e-05/0.2527, allocations: 55.42 kB / 1.107 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.2527, allocations: 0 / 1.107 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7404/0.9931, allocations: 4.035 MB / 1.111 GB, free: 8.891 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/12.29, allocations: 5.688 kB / 1.111 GB, free: 8.887 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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