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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001212/0.001212, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001258/0.001258, allocations: 194.4 kB / 16.14 MB, free: 6.691 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.167/1.167, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.423/2.423, allocations: 437 MB / 0.7099 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 71.88 kB / 0.8687 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4965/0.4978, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004362/0.5022, allocations: 3.268 MB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001949/0.5042, allocations: 1.371 MB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.5044, allocations: 7.938 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0008663/0.5053, allocations: 318.9 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003284/0.5056, allocations: 147.4 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003205/0.5059, allocations: 131.7 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004022/0.5063, allocations: 458.7 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002808/0.5066, allocations: 173.4 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/0.5068, allocations: 119.5 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002596/0.5071, allocations: 151.5 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.538e-05/0.5071, allocations: 19.94 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003227/0.5074, allocations: 203.6 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.431e-05/0.5075, allocations: 79.78 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.5077, allocations: 115.4 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000372/0.508, allocations: 349.2 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.5081, allocations: 8 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.31e-07/0.5081, allocations: 3.938 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.5081, allocations: 0 / 1.023 GB, free: 11.89 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.000766/0.5088, allocations: 0.542 MB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.5089, allocations: 8.031 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.79e-05/0.5089, allocations: 58.67 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005592/0.5095, allocations: 88.58 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.5098, allocations: 253.3 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.5098, allocations: 12.81 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.5098, allocations: 16.38 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004537/0.5103, allocations: 324.4 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.5103, allocations: 0 / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.559e-05/0.5103, allocations: 8 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.538e-05/0.5104, allocations: 20.42 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003434/0.5107, allocations: 209.5 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.5121, allocations: 1.502 MB / 1.026 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003755/0.5125, allocations: 203.6 kB / 1.027 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.054e-05/0.5126, allocations: 48.83 kB / 1.027 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.5127, allocations: 0 / 1.027 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.5127, allocations: 30.56 kB / 1.027 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.5127, allocations: 0 / 1.027 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0005113/0.5132, allocations: 263.3 kB / 1.027 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.5132, allocations: 59.39 kB / 1.027 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.5134, allocations: 203.8 kB / 1.027 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.5134, allocations: 29.64 kB / 1.027 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.818e-05/0.5135, allocations: 179.5 kB / 1.027 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.5136, allocations: 35.55 kB / 1.027 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.755e-05/0.5136, allocations: 37.7 kB / 1.027 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.813e-05/0.5137, allocations: 330.8 kB / 1.028 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.572e-05/0.5138, allocations: 43.97 kB / 1.028 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.5139, allocations: 106.4 kB / 1.028 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002136/0.5142, allocations: 168.4 kB / 1.028 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5142, allocations: 0 / 1.028 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003434/0.5145, allocations: 210 kB / 1.028 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.5146, allocations: 4.281 kB / 1.028 GB, free: 6.484 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.5146, allocations: 8 kB / 1.028 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001413/0.5147, allocations: 32.77 kB / 1.028 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.5148, allocations: 39.92 kB / 1.028 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008648/0.5157, allocations: 1.323 MB / 1.03 GB, free: 4.945 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.5159, allocations: 16 kB / 1.03 GB, free: 4.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.5159, allocations: 19.92 kB / 1.03 GB, free: 4.91 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.0001162/0.516, allocations: 150.3 kB / 1.03 GB, free: 4.754 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.03e-05/0.5161, allocations: 23.84 kB / 1.03 GB, free: 4.73 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.575e-05/0.5161, allocations: 25.34 kB / 1.03 GB, free: 4.711 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.5161, allocations: 0 / 1.03 GB, free: 4.711 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.5161, allocations: 0 / 1.03 GB, free: 4.711 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.5161, allocations: 3.984 kB / 1.03 GB, free: 4.707 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005422/0.5167, allocations: 483.2 kB / 1.03 GB, free: 4.176 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5167, allocations: 0 / 1.03 GB, free: 4.176 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.597e-05/0.5167, allocations: 11.94 kB / 1.03 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.37e-05/0.5168, allocations: 32.83 kB / 1.03 GB, free: 4.129 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.5169, allocations: 0 / 1.03 GB, free: 4.129 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000798/0.5177, allocations: 1.323 MB / 1.032 GB, free: 2.676 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.5177, allocations: 0 / 1.032 GB, free: 2.676 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/0.5179, allocations: 228.2 kB / 1.032 GB, free: 2.434 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.757e-05/0.518, allocations: 104.8 kB / 1.032 GB, free: 2.312 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.518, allocations: 96 / 1.032 GB, free: 2.312 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.5182, allocations: 8 kB / 1.032 GB, free: 2.305 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.5182, allocations: 7.984 kB / 1.032 GB, free: 2.297 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.5182, allocations: 8 kB / 1.032 GB, free: 2.289 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001143/0.5183, allocations: 148.2 kB / 1.032 GB, free: 2.145 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5184, allocations: 3.938 kB / 1.032 GB, free: 2.141 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003067/0.5187, allocations: 55.84 kB / 1.032 GB, free: 2.086 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.0004767/0.5191, allocations: 0.7739 MB / 1.033 GB, free: 1.285 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003621/0.5195, allocations: 223.5 kB / 1.033 GB, free: 1.055 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5195, allocations: 4.188 kB / 1.033 GB, free: 1.051 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001901/0.5197, allocations: 162.6 kB / 1.033 GB, free: 0.8789 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.5201, allocations: 37.06 kB / 1.033 GB, free: 0.8438 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/0.5222, allocations: 2.221 MB / 1.036 GB, free: 14.48 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.5225, allocations: 0.7635 MB / 1.036 GB, free: 13.69 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001044/0.5226, allocations: 29.45 kB / 1.036 GB, free: 13.66 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.625e-05/0.5227, allocations: 59.42 kB / 1.036 GB, free: 13.6 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.5227, allocations: 0 / 1.036 GB, free: 13.6 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.265/1.788, allocations: 3.737 MB / 1.04 GB, free: 10.02 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002384/1.788, allocations: 231.9 kB / 1.04 GB, free: 9.754 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.906/3.695, allocations: 3.938 kB / 1.04 GB, free: 9.75 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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