Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.ACACConverter,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",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.001657/0.001658, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001871/0.001872, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.419/1.419, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.576/2.576, allocations: 437.1 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 67.89 kB / 0.8694 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5351/0.5364, allocations: 151.6 MB / 1.017 GB, free: 2.43 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.004065/0.5405, allocations: 2.755 MB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003011/0.5436, allocations: 2.081 MB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.5437, allocations: 8 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000756/0.5445, allocations: 234.8 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004955/0.545, allocations: 223 kB / 1.023 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000621/0.5456, allocations: 275.3 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003382/0.546, allocations: 315 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002981/0.5463, allocations: 158 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.5465, allocations: 123.6 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002684/0.5467, allocations: 155.5 kB / 1.024 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.067e-05/0.5468, allocations: 20 kB / 1.024 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000606/0.5474, allocations: 411.2 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.5475, allocations: 95.77 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.5476, allocations: 119.4 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005757/0.5482, allocations: 484.9 kB / 1.025 GB, free: 11 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.5482, allocations: 4 kB / 1.025 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5482, allocations: 0 / 1.025 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.5483, allocations: 4 kB / 1.025 GB, free: 10.99 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008802/0.5491, allocations: 0.5592 MB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.5492, allocations: 8.031 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.778e-05/0.5493, allocations: 54.73 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009958/0.5503, allocations: 132.5 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/0.5506, allocations: 257.5 kB / 1.026 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.5506, allocations: 20.8 kB / 1.026 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.465e-05/0.5506, allocations: 23.94 kB / 1.026 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000673/0.5513, allocations: 401.9 kB / 1.026 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.5513, allocations: 3.938 kB / 1.026 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.297e-05/0.5514, allocations: 7.984 kB / 1.026 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.025e-05/0.5514, allocations: 31.92 kB / 1.026 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007389/0.5522, allocations: 367.6 kB / 1.026 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001939/0.5541, allocations: 1.741 MB / 1.028 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007535/0.5549, allocations: 356.9 kB / 1.028 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003499/0.5553, allocations: 193.6 kB / 1.029 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001364/0.5554, allocations: 93.08 kB / 1.029 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.5554, allocations: 34.56 kB / 1.029 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 1.753e-06/0.5554, allocations: 3.938 kB / 1.029 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35): time 0.009185/0.5646, allocations: 2.044 MB / 1.031 GB, free: 4.367 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.5647, allocations: 85.09 kB / 1.031 GB, free: 4.266 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.5649, allocations: 183.7 kB / 1.031 GB, free: 4.078 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.383e-05/0.5649, allocations: 33.7 kB / 1.031 GB, free: 4.039 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.287e-05/0.565, allocations: 148.4 kB / 1.031 GB, free: 3.891 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.5651, allocations: 126.1 kB / 1.031 GB, free: 3.766 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001535/0.5653, allocations: 77.67 kB / 1.031 GB, free: 3.684 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.875e-05/0.5654, allocations: 330.8 kB / 1.032 GB, free: 3.352 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005815/0.566, allocations: 264.7 kB / 1.032 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006143/0.5666, allocations: 349.4 kB / 1.032 GB, free: 2.715 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/0.5678, allocations: 0.6189 MB / 1.033 GB, free: 2.066 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.5678, allocations: 0 / 1.033 GB, free: 2.066 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001389/0.5692, allocations: 0.6699 MB / 1.034 GB, free: 1.391 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.5692, allocations: 4 kB / 1.034 GB, free: 1.387 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.5692, allocations: 4 kB / 1.034 GB, free: 1.383 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.5693, allocations: 4 kB / 1.034 GB, free: 1.379 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009982/0.5703, allocations: 151.8 kB / 1.034 GB, free: 1.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.5703, allocations: 4 kB / 1.034 GB, free: 1.227 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004792/0.5708, allocations: 64.03 kB / 1.034 GB, free: 1.164 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.31e-05/0.5708, allocations: 16 kB / 1.034 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006517/0.5715, allocations: 371.9 kB / 1.034 GB, free: 0.7812 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005904/0.5721, allocations: 337.9 kB / 1.034 GB, free: 428 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001169/0.5733, allocations: 0.5942 MB / 1.035 GB, free: 15.79 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.743e-06/0.5733, allocations: 0 / 1.035 GB, free: 15.79 MB / 0.795 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001324/0.5746, allocations: 0.6375 MB / 1.036 GB, free: 15.14 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.779e-06/0.5746, allocations: 5.562 kB / 1.036 GB, free: 15.14 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.5746, allocations: 4.281 kB / 1.036 GB, free: 15.14 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.45e-06/0.5746, allocations: 8 kB / 1.036 GB, free: 15.13 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009251/0.5756, allocations: 147.7 kB / 1.036 GB, free: 14.98 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.5756, allocations: 4 kB / 1.036 GB, free: 14.98 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004617/0.5761, allocations: 55.92 kB / 1.036 GB, free: 14.93 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.883e-05/0.5761, allocations: 16 kB / 1.036 GB, free: 14.91 MB / 0.795 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 (44): * Single equations (assignments): 44 * 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.0001504/0.5763, allocations: 204.1 kB / 1.036 GB, free: 14.7 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.27e-05/0.5764, allocations: 23.72 kB / 1.036 GB, free: 14.68 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001452/0.5778, allocations: 0.692 MB / 1.037 GB, free: 13.98 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.5778, allocations: 8 kB / 1.037 GB, free: 13.97 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5778, allocations: 0 / 1.037 GB, free: 13.97 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.5779, allocations: 0 / 1.037 GB, free: 13.97 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002101/0.58, allocations: 1.368 MB / 1.038 GB, free: 12.51 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.58, allocations: 0 / 1.038 GB, free: 12.51 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005953/0.5806, allocations: 116.1 kB / 1.038 GB, free: 12.39 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.5806, allocations: 8 kB / 1.038 GB, free: 12.39 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.313e-05/0.5806, allocations: 15.94 kB / 1.038 GB, free: 12.37 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.5806, allocations: 7.938 kB / 1.038 GB, free: 12.36 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5807, allocations: 4 kB / 1.038 GB, free: 12.36 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.5817, allocations: 0.7034 MB / 1.039 GB, free: 11.62 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.5818, allocations: 136.9 kB / 1.039 GB, free: 11.46 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.845e-05/0.5819, allocations: 23.84 kB / 1.039 GB, free: 11.44 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003788/0.5823, allocations: 39.94 kB / 1.039 GB, free: 11.4 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.78e-05/0.5824, allocations: 27.97 kB / 1.039 GB, free: 11.38 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.523e-05/0.5824, allocations: 11.98 kB / 1.039 GB, free: 11.36 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001714/0.5826, allocations: 152.3 kB / 1.039 GB, free: 11.21 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5826, allocations: 4 kB / 1.039 GB, free: 11.21 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006288/0.5832, allocations: 148 kB / 1.04 GB, free: 11.07 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 37 * 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.00132/0.5846, allocations: 1.287 MB / 1.041 GB, free: 9.73 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001813/0.5864, allocations: 0.9217 MB / 1.042 GB, free: 8.809 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.5864, allocations: 0 / 1.042 GB, free: 8.809 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004506/0.5869, allocations: 255.7 kB / 1.042 GB, free: 8.559 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005199/0.5874, allocations: 44.66 kB / 1.042 GB, free: 8.516 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005635/0.593, allocations: 3.885 MB / 1.046 GB, free: 4.449 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.5934, allocations: 0.776 MB / 1.047 GB, free: 3.648 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0005847/0.594, allocations: 174.8 kB / 1.047 GB, free: 3.473 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002186/0.5942, allocations: 87.39 kB / 1.047 GB, free: 3.387 MB / 0.795 GB Notification: Performance of SimCode: time 2.61e-07/0.5942, allocations: 0 / 1.047 GB, free: 3.387 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/0.618, allocations: 7.634 MB / 1.054 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.375/7.993, allocations: 10.47 kB / 1.054 GB, free: 11.89 MB / 0.8106 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches