Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",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.0008855/0.0008855, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005399/0.005399, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.264/1.264, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.404/2.404, allocations: 437.8 MB / 0.7121 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004764/0.0004764, allocations: 8 kB / 0.873 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5424/0.5429, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.002852/0.5458, allocations: 2.127 MB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00241/0.5482, allocations: 1.399 MB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001466/0.5484, allocations: 4 kB / 1.027 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001661/0.5486, allocations: 27.78 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004044/0.549, allocations: 111.6 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004856/0.5495, allocations: 179.6 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003596/0.5499, allocations: 319.1 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004685/0.5503, allocations: 238 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.5505, allocations: 71.69 kB / 1.028 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.5507, allocations: 95.66 kB / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.5508, allocations: 8 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003766/0.5511, allocations: 223.5 kB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.383e-05/0.5512, allocations: 63.8 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.5514, allocations: 93.31 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004149/0.5518, allocations: 281.3 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5518, allocations: 0 / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.884e-06/0.5518, allocations: 0 / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.5518, allocations: 4 kB / 1.028 GB, free: 10.57 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006673/0.5525, allocations: 443.2 kB / 1.029 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.5525, allocations: 11.97 kB / 1.029 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.033e-05/0.5526, allocations: 46.73 kB / 1.029 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005054/0.5531, allocations: 68.67 kB / 1.029 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.5533, allocations: 220.1 kB / 1.029 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.5534, allocations: 12.66 kB / 1.029 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.159e-05/0.5534, allocations: 16.36 kB / 1.029 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004032/0.5538, allocations: 283.4 kB / 1.029 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.5539, allocations: 3.906 kB / 1.029 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/0.5539, allocations: 8 kB / 1.029 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.869e-05/0.5539, allocations: 16.22 kB / 1.029 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003123/0.5542, allocations: 208.5 kB / 1.03 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/0.5559, allocations: 1.587 MB / 1.031 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003893/0.5563, allocations: 323.2 kB / 1.031 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.041e-05/0.5564, allocations: 61.69 kB / 1.031 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.5565, allocations: 0 / 1.031 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.5565, allocations: 38.56 kB / 1.031 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 9.52e-07/0.5565, allocations: 0 / 1.031 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0005097/0.557, allocations: 248.6 kB / 1.032 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.5571, allocations: 81.11 kB / 1.032 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.5573, allocations: 199.4 kB / 1.032 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.5573, allocations: 29.7 kB / 1.032 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.144e-05/0.5574, allocations: 155.6 kB / 1.032 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.5574, allocations: 31.55 kB / 1.032 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.031e-05/0.5575, allocations: 33.89 kB / 1.032 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.5576, allocations: 318.8 kB / 1.033 GB, free: 5.785 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.5577, allocations: 71.95 kB / 1.033 GB, free: 5.715 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.5578, allocations: 152.4 kB / 1.033 GB, free: 5.527 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/0.5581, allocations: 242.8 kB / 1.033 GB, free: 5.25 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.5581, allocations: 0 / 1.033 GB, free: 5.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003767/0.5585, allocations: 265 kB / 1.033 GB, free: 4.984 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.5586, allocations: 179.7 kB / 1.033 GB, free: 4.766 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.5586, allocations: 0 / 1.033 GB, free: 4.766 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.5587, allocations: 12 kB / 1.033 GB, free: 4.754 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.5589, allocations: 51.89 kB / 1.033 GB, free: 4.703 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.5589, allocations: 4 kB / 1.033 GB, free: 4.699 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.5591, allocations: 15.98 kB / 1.033 GB, free: 4.684 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.5591, allocations: 8 kB / 1.033 GB, free: 4.676 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.312e-06/0.5591, allocations: 4 kB / 1.033 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002952/0.5594, allocations: 203.7 kB / 1.034 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.5594, allocations: 4 kB / 1.034 GB, free: 4.469 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.04e-06/0.5594, allocations: 4.125 kB / 1.034 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.5596, allocations: 51.91 kB / 1.034 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.5596, allocations: 4 kB / 1.034 GB, free: 4.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.5597, allocations: 19.84 kB / 1.034 GB, free: 4.391 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.5597, allocations: 11.98 kB / 1.034 GB, free: 4.379 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001404/0.5599, allocations: 221.7 kB / 1.034 GB, free: 4.152 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.192e-05/0.5599, allocations: 15.91 kB / 1.034 GB, free: 4.137 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000252/0.5602, allocations: 146.9 kB / 1.034 GB, free: 3.992 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.5602, allocations: 4 kB / 1.034 GB, free: 3.988 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.5602, allocations: 3.938 kB / 1.034 GB, free: 3.984 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.5602, allocations: 3.984 kB / 1.034 GB, free: 3.98 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000889/0.5611, allocations: 0.7158 MB / 1.035 GB, free: 3.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.5611, allocations: 0 / 1.035 GB, free: 3.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.5612, allocations: 27.92 kB / 1.035 GB, free: 3.152 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.5612, allocations: 4 kB / 1.035 GB, free: 3.148 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.5613, allocations: 4.344 kB / 1.035 GB, free: 3.145 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.5613, allocations: 8 kB / 1.035 GB, free: 3.137 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.5613, allocations: 4.531 kB / 1.035 GB, free: 3.133 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002969/0.5616, allocations: 382.1 kB / 1.035 GB, free: 2.715 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.71e-05/0.5617, allocations: 108.8 kB / 1.035 GB, free: 2.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.5617, allocations: 4 kB / 1.035 GB, free: 2.586 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.5619, allocations: 7.984 kB / 1.035 GB, free: 2.578 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.959e-05/0.5619, allocations: 27.86 kB / 1.035 GB, free: 2.551 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.5619, allocations: 4 kB / 1.035 GB, free: 2.547 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00012/0.562, allocations: 145.2 kB / 1.036 GB, free: 2.406 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.562, allocations: 0 / 1.036 GB, free: 2.406 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004843/0.5625, allocations: 68 kB / 1.036 GB, free: 2.34 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005736/0.5631, allocations: 0.9066 MB / 1.036 GB, free: 1.375 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003995/0.5635, allocations: 273.3 kB / 1.037 GB, free: 1.109 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5635, allocations: 3.938 kB / 1.037 GB, free: 1.105 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.633e-05/0.5636, allocations: 59.84 kB / 1.037 GB, free: 1.047 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004897/0.5641, allocations: 32.98 kB / 1.037 GB, free: 1.016 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.5665, allocations: 2.398 MB / 1.039 GB, free: 14.41 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.5668, allocations: 0.7363 MB / 1.04 GB, free: 13.65 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001916/0.567, allocations: 81.47 kB / 1.04 GB, free: 13.57 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.019e-05/0.5671, allocations: 43.42 kB / 1.04 GB, free: 13.53 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.5671, allocations: 4 kB / 1.04 GB, free: 13.52 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01302/0.5801, allocations: 3.249 MB / 1.043 GB, free: 10.45 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002456/0.5804, allocations: 231.9 kB / 1.043 GB, free: 10.19 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.668/2.249, allocations: 0 / 1.043 GB, free: 10.19 MB / 0.795 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches