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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001001/0.001001, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006909/0.006909, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.22/1.22, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.115/2.115, allocations: 390.9 MB / 0.6664 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003139/0.000314, allocations: 12 kB / 0.8161 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5309/0.5312, allocations: 142.4 MB / 0.9552 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.00259/0.5338, allocations: 2.888 MB / 0.958 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.5352, allocations: 1.347 MB / 0.9593 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.567e-05/0.5353, allocations: 4.125 kB / 0.9593 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001365/0.5355, allocations: 45.14 kB / 0.9593 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002718/0.5358, allocations: 137.6 kB / 0.9595 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.536, allocations: 134.1 kB / 0.9596 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003161/0.5363, allocations: 466.3 kB / 0.96 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002419/0.5366, allocations: 252.2 kB / 0.9603 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.5367, allocations: 103.7 kB / 0.9604 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.5369, allocations: 147.9 kB / 0.9605 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.537, allocations: 10.22 kB / 0.9605 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002384/0.5372, allocations: 207.7 kB / 0.9607 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.016e-05/0.5373, allocations: 79.28 kB / 0.9608 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.866e-05/0.5374, allocations: 137 kB / 0.9609 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.5377, allocations: 353.9 kB / 0.9613 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5377, allocations: 1.031 kB / 0.9613 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5377, allocations: 0 / 0.9613 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.5377, allocations: 0 / 0.9613 GB, free: 3.047 MB / 0.7169 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.00056/0.5383, allocations: 0.4997 MB / 0.9618 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.5383, allocations: 10.31 kB / 0.9618 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.368e-05/0.5384, allocations: 54.45 kB / 0.9618 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005029/0.5389, allocations: 83.2 kB / 0.9619 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.5391, allocations: 257.1 kB / 0.9622 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.5391, allocations: 12.34 kB / 0.9622 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.917e-05/0.5391, allocations: 21.62 kB / 0.9622 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004031/0.5395, allocations: 319.8 kB / 0.9625 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.5395, allocations: 1.344 kB / 0.9625 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.5396, allocations: 6.281 kB / 0.9625 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.83e-05/0.5396, allocations: 21.14 kB / 0.9625 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003164/0.5399, allocations: 218.6 kB / 0.9627 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.541, allocations: 1.502 MB / 0.9642 GB, free: 416 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003207/0.5413, allocations: 213.5 kB / 0.9644 GB, free: 240 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.624e-05/0.5414, allocations: 51.69 kB / 0.9644 GB, free: 208 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-06/0.5414, allocations: 0 / 0.9644 GB, free: 208 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.151e-05/0.5414, allocations: 36.94 kB / 0.9645 GB, free: 164 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 8.52e-07/0.5414, allocations: 0 / 0.9645 GB, free: 164 kB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004684/0.5419, allocations: 266.8 kB / 0.9647 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.5419, allocations: 52.31 kB / 0.9648 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.5421, allocations: 208.4 kB / 0.965 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.5421, allocations: 27.08 kB / 0.965 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.005e-05/0.5422, allocations: 176.9 kB / 0.9652 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.5423, allocations: 31.05 kB / 0.9652 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/0.5423, allocations: 23.56 kB / 0.9652 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.859e-05/0.5424, allocations: 326.2 kB / 0.9655 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.077e-05/0.5425, allocations: 45.02 kB / 0.9656 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.5426, allocations: 114.9 kB / 0.9657 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.5428, allocations: 180.5 kB / 0.9659 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.5429, allocations: 0.8438 kB / 0.9659 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003433/0.5432, allocations: 216 kB / 0.9661 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.5432, allocations: 6.062 kB / 0.9661 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.5432, allocations: 1.375 kB / 0.9661 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001301/0.5434, allocations: 31.19 kB / 0.9661 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.5435, allocations: 33.58 kB / 0.9661 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000825/0.5443, allocations: 1.333 MB / 0.9674 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.5445, allocations: 19.84 kB / 0.9675 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.5445, allocations: 6.75 kB / 0.9675 GB, free: 13.35 MB / 0.7325 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.0001086/0.5446, allocations: 150.7 kB / 0.9676 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/0.5447, allocations: 20.47 kB / 0.9676 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.4e-05/0.5447, allocations: 21.55 kB / 0.9677 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.5447, allocations: 0.9688 kB / 0.9677 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.5447, allocations: 1.031 kB / 0.9677 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.5447, allocations: 0 / 0.9677 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005304/0.5453, allocations: 492.8 kB / 0.9681 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5453, allocations: 1.406 kB / 0.9681 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.262e-05/0.5453, allocations: 13.42 kB / 0.9681 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.521e-05/0.5454, allocations: 27.81 kB / 0.9682 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.5454, allocations: 11.94 kB / 0.9682 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007961/0.5462, allocations: 1.326 MB / 0.9695 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5462, allocations: 1.094 kB / 0.9695 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.5465, allocations: 233.4 kB / 0.9697 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.479e-05/0.5466, allocations: 103.3 kB / 0.9698 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.5466, allocations: 0.9688 kB / 0.9698 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.5467, allocations: 18.11 kB / 0.9698 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.067e-05/0.5468, allocations: 6.891 kB / 0.9698 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.5468, allocations: 1.969 kB / 0.9698 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001089/0.5469, allocations: 145.7 kB / 0.97 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5469, allocations: 0.7188 kB / 0.97 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002942/0.5472, allocations: 55.28 kB / 0.97 GB, free: 10.91 MB / 0.7325 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.0004779/0.5477, allocations: 0.7766 MB / 0.9708 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000359/0.5481, allocations: 239 kB / 0.971 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.5481, allocations: 0.9688 kB / 0.971 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001877/0.5483, allocations: 162.9 kB / 0.9712 GB, free: 9.879 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.5486, allocations: 39.75 kB / 0.9712 GB, free: 9.859 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.5507, allocations: 2.251 MB / 0.9734 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.5509, allocations: 0.7635 MB / 0.9741 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.6e-05/0.551, allocations: 27.66 kB / 0.9742 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.837e-05/0.5511, allocations: 55.17 kB / 0.9742 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.5511, allocations: 0 / 0.9742 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.858/2.409, allocations: 3.665 MB / 0.9778 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/2.409, allocations: 224.4 kB / 0.978 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.801/5.211, allocations: 3.938 kB / 0.978 GB, free: 5.184 MB / 0.7325 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