Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.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.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter",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.0008429/0.0008429, allocations: 98.19 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.008268/0.008268, allocations: 170.4 kB / 16.27 MB, free: 6.652 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.189/1.189, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.324/2.324, allocations: 437.8 MB / 0.7121 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.0003607, allocations: 8 kB / 0.873 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.536/0.5364, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.00362/0.54, allocations: 3.031 MB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003007/0.5431, allocations: 2.151 MB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001787/0.5433, allocations: 4 kB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001828/0.5435, allocations: 39.64 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005992/0.5441, allocations: 219.1 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000699/0.5448, allocations: 267 kB / 1.029 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005538/0.5453, allocations: 0.5298 MB / 1.029 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005103/0.5459, allocations: 339.4 kB / 1.03 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002443/0.5461, allocations: 123.5 kB / 1.03 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002837/0.5464, allocations: 175.3 kB / 1.03 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.866e-05/0.5464, allocations: 12 kB / 1.03 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006853/0.5471, allocations: 0.499 MB / 1.03 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.741e-05/0.5472, allocations: 95.64 kB / 1.03 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.5474, allocations: 145 kB / 1.031 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005306/0.5479, allocations: 0.5296 MB / 1.031 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.175e-06/0.5479, allocations: 0 / 1.031 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5479, allocations: 0 / 1.031 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.5479, allocations: 4 kB / 1.031 GB, free: 7.645 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007825/0.5487, allocations: 0.5536 MB / 1.032 GB, free: 7.039 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.5488, allocations: 12.03 kB / 1.032 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.127e-05/0.5488, allocations: 62.72 kB / 1.032 GB, free: 6.957 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007928/0.5496, allocations: 120.4 kB / 1.032 GB, free: 6.84 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/0.5499, allocations: 280.2 kB / 1.032 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.55, allocations: 12.81 kB / 1.032 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.134e-05/0.55, allocations: 24.38 kB / 1.032 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005977/0.5506, allocations: 419.7 kB / 1.033 GB, free: 6.055 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.5506, allocations: 15.88 kB / 1.033 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/0.5507, allocations: 8 kB / 1.033 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-05/0.5507, allocations: 36.53 kB / 1.033 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005964/0.5513, allocations: 353.9 kB / 1.033 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002099/0.5534, allocations: 2.069 MB / 1.035 GB, free: 3.391 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007339/0.5542, allocations: 353.1 kB / 1.035 GB, free: 3.027 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000375/0.5546, allocations: 205.5 kB / 1.035 GB, free: 2.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.341e-05/0.5547, allocations: 89.09 kB / 1.036 GB, free: 2.715 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.5547, allocations: 34.56 kB / 1.036 GB, free: 2.672 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 1.303e-06/0.5547, allocations: 0 / 1.036 GB, free: 2.672 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34): time 0.004901/0.5596, allocations: 1.748 MB / 1.037 GB, free: 0.8906 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.5597, allocations: 85.05 kB / 1.037 GB, free: 0.7891 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.5599, allocations: 244.9 kB / 1.038 GB, free: 0.5391 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.5599, allocations: 29.7 kB / 1.038 GB, free: 0.5039 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.548e-05/0.56, allocations: 180.1 kB / 1.038 GB, free: 332 kB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.859e-05/0.5601, allocations: 122.3 kB / 1.038 GB, free: 208 kB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.732e-05/0.5602, allocations: 37.7 kB / 1.038 GB, free: 164 kB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.5603, allocations: 334.8 kB / 1.038 GB, free: 15.82 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003713/0.5607, allocations: 200.8 kB / 1.038 GB, free: 15.63 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000427/0.5611, allocations: 321 kB / 1.039 GB, free: 15.27 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008151/0.5619, allocations: 0.5277 MB / 1.039 GB, free: 14.7 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5619, allocations: 4 kB / 1.039 GB, free: 14.7 MB / 0.795 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001208/0.5631, allocations: 0.672 MB / 1.04 GB, free: 14.01 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001005/0.5633, allocations: 180.3 kB / 1.04 GB, free: 13.79 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.5633, allocations: 4 kB / 1.04 GB, free: 13.78 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00047/0.5637, allocations: 143.3 kB / 1.04 GB, free: 13.63 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003907/0.5642, allocations: 103.8 kB / 1.04 GB, free: 13.53 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002584/0.5667, allocations: 3.969 MB / 1.044 GB, free: 9.242 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003108/0.5671, allocations: 35.97 kB / 1.044 GB, free: 9.207 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.162e-05/0.5671, allocations: 16 kB / 1.044 GB, free: 9.191 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.091e-06/0.5671, allocations: 8.125 kB / 1.044 GB, free: 9.184 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001177/0.5683, allocations: 0.6239 MB / 1.045 GB, free: 8.547 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.5683, allocations: 4 kB / 1.045 GB, free: 8.543 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003624/0.5687, allocations: 139.5 kB / 1.045 GB, free: 8.395 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003815/0.5691, allocations: 99.81 kB / 1.045 GB, free: 8.297 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005574/0.5697, allocations: 1.109 MB / 1.046 GB, free: 7.137 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/0.57, allocations: 43.81 kB / 1.046 GB, free: 7.094 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-05/0.57, allocations: 20.17 kB / 1.046 GB, free: 7.074 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001901/0.5702, allocations: 245 kB / 1.047 GB, free: 6.824 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.616e-05/0.5703, allocations: 31.7 kB / 1.047 GB, free: 6.793 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/0.5715, allocations: 0.636 MB / 1.047 GB, free: 6.137 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.5715, allocations: 4 kB / 1.047 GB, free: 6.133 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5715, allocations: 4 kB / 1.047 GB, free: 6.129 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.5715, allocations: 3.984 kB / 1.047 GB, free: 6.125 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002073/0.5736, allocations: 1.347 MB / 1.048 GB, free: 4.664 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.5736, allocations: 8.031 kB / 1.048 GB, free: 4.656 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.5739, allocations: 67.83 kB / 1.049 GB, free: 4.59 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000418/0.5743, allocations: 147.3 kB / 1.049 GB, free: 4.434 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/0.5743, allocations: 12 kB / 1.049 GB, free: 4.422 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002476/0.5768, allocations: 3.973 MB / 1.053 GB, free: 132 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.5768, allocations: 4 kB / 1.053 GB, free: 128 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.578, allocations: 0.7977 MB / 1.053 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.5781, allocations: 140.6 kB / 1.054 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.797e-05/0.5782, allocations: 8 kB / 1.054 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003037/0.5785, allocations: 43.95 kB / 1.054 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.793e-05/0.5786, allocations: 27.97 kB / 1.054 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.5786, allocations: 12 kB / 1.054 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001406/0.5787, allocations: 172.5 kB / 1.054 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5787, allocations: 0 / 1.054 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006555/0.5794, allocations: 159.9 kB / 1.054 GB, free: 14.7 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001457/0.5809, allocations: 1.362 MB / 1.055 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00186/0.5827, allocations: 1.207 MB / 1.056 GB, free: 12 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5828, allocations: 4.062 kB / 1.056 GB, free: 12 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007006/0.5835, allocations: 498.3 kB / 1.057 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005837/0.5841, allocations: 62.45 kB / 1.057 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005089/0.5892, allocations: 4.074 MB / 1.061 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.5895, allocations: 0.7967 MB / 1.062 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000325/0.5898, allocations: 126.8 kB / 1.062 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.59, allocations: 91.41 kB / 1.062 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of SimCode: time 3.4e-07/0.59, allocations: 3.938 kB / 1.062 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.318/0.908, allocations: 8.322 MB / 1.07 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002435/0.9083, allocations: 261.1 kB / 1.07 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.812/2.72, allocations: 0 / 1.07 GB, free: 13.75 MB / 0.8262 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches