Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.356/2.356, allocations: 390.3 MB / 402.8 MB, free: 6.664 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 184.8 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 221.3 MB / 0.7915 GB, free: 5.383 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 91.95 kB / 0.9318 GB, free: 5.695 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.231e-05/3.246e-05, allocations: 7.984 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2976, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.027/1.325, allocations: 192.3 MB / 1.407 GB, free: 12.17 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003268/1.325, allocations: 89.78 kB / 1.407 GB, free: 12.12 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.133/1.458, allocations: 49.66 MB / 1.455 GB, free: 240 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.823e-06/1.458, allocations: 4 kB / 1.455 GB, free: 236 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 7.715e-05/1.458, allocations: 20 kB / 1.455 GB, free: 216 kB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.00306/1.462, allocations: 0.978 MB / 1.456 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.792e-05/1.462, allocations: 12.03 kB / 1.456 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000433/1.462, allocations: 126.4 kB / 1.456 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0103/1.472, allocations: 1.621 MB / 1.458 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001911/1.474, allocations: 0.6264 MB / 1.459 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.49e-05/1.474, allocations: 41.3 kB / 1.459 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004641/1.475, allocations: 59.97 kB / 1.459 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003094/1.478, allocations: 1.425 MB / 1.46 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.873e-05/1.478, allocations: 3.953 kB / 1.46 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001596/1.478, allocations: 35.97 kB / 1.46 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003813/1.479, allocations: 145.4 kB / 1.46 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003198/1.482, allocations: 1.634 MB / 1.462 GB, free: 9.34 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01318/1.495, allocations: 6.657 MB / 1.468 GB, free: 2.32 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002237/1.497, allocations: 0.9379 MB / 1.469 GB, free: 1.363 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001158/1.499, allocations: 0.5723 MB / 1.47 GB, free: 0.7852 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00366/1.502, allocations: 1.486 MB / 1.471 GB, free: 15.23 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.143e-05/1.502, allocations: 38.56 kB / 1.471 GB, free: 15.19 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=73): time 5.52e-06/1.502, allocations: 0 / 1.471 GB, free: 15.19 MB / 0.9323 GB Notification: Performance of matching and sorting (n=107): time 0.01988/1.522, allocations: 5.657 MB / 1.477 GB, free: 9.504 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/1.523, allocations: 90.11 kB / 1.477 GB, free: 9.398 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/1.524, allocations: 0.5007 MB / 1.477 GB, free: 8.887 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002332/1.524, allocations: 45.7 kB / 1.477 GB, free: 8.836 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005192/1.525, allocations: 411 kB / 1.478 GB, free: 8.426 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006361/1.525, allocations: 370.7 kB / 1.478 GB, free: 8.059 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/1.525, allocations: 24 kB / 1.478 GB, free: 8.035 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0003118/1.526, allocations: 390.8 kB / 1.479 GB, free: 7.645 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001531/1.527, allocations: 0.7561 MB / 1.479 GB, free: 6.887 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001789/1.529, allocations: 1.081 MB / 1.48 GB, free: 5.668 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/1.531, allocations: 0.8692 MB / 1.481 GB, free: 4.797 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.204e-05/1.531, allocations: 0 / 1.481 GB, free: 4.797 MB / 0.9323 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.007067/1.538, allocations: 3.02 MB / 1.484 GB, free: 1.754 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.002151/1.54, allocations: 3.923 MB / 1.488 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.01e-05/1.54, allocations: 12 kB / 1.488 GB, free: 13.51 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004216/1.544, allocations: 1.178 MB / 1.489 GB, free: 12.32 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002229/1.546, allocations: 463.2 kB / 1.49 GB, free: 11.87 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01234/1.559, allocations: 8.998 MB / 1.498 GB, free: 2.441 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00258/1.561, allocations: 307.4 kB / 1.499 GB, free: 2.141 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003305/1.562, allocations: 64.12 kB / 1.499 GB, free: 2.078 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/1.562, allocations: 7.938 kB / 1.499 GB, free: 2.07 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006557/1.568, allocations: 2.738 MB / 1.501 GB, free: 15.32 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-05/1.568, allocations: 8 kB / 1.501 GB, free: 15.31 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003208/1.572, allocations: 0.9518 MB / 1.502 GB, free: 14.34 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002405/1.574, allocations: 471.2 kB / 1.503 GB, free: 13.88 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01337/1.587, allocations: 10.07 MB / 1.513 GB, free: 3.277 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002448/1.59, allocations: 303.5 kB / 1.513 GB, free: 2.98 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003201/1.59, allocations: 64.03 kB / 1.513 GB, free: 2.918 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0005139/1.591, allocations: 184.6 kB / 1.513 GB, free: 2.73 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003104/1.591, allocations: 79.06 kB / 1.513 GB, free: 2.652 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007245/1.598, allocations: 2.939 MB / 1.516 GB, free: 15.69 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.738e-05/1.598, allocations: 15.94 kB / 1.516 GB, free: 15.68 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-05/1.599, allocations: 4 kB / 1.516 GB, free: 15.67 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.816e-05/1.599, allocations: 7.969 kB / 1.516 GB, free: 15.66 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01005/1.609, allocations: 4.671 MB / 1.521 GB, free: 10.85 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.564e-05/1.609, allocations: 8.031 kB / 1.521 GB, free: 10.84 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001829/1.61, allocations: 363.3 kB / 1.521 GB, free: 10.48 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004062/1.615, allocations: 1.1 MB / 1.522 GB, free: 9.371 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001434/1.615, allocations: 35.97 kB / 1.522 GB, free: 9.336 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0162/1.631, allocations: 10.49 MB / 1.532 GB, free: 14.31 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-05/1.631, allocations: 11.94 kB / 1.532 GB, free: 14.3 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007092/1.638, allocations: 3.113 MB / 1.535 GB, free: 10.94 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009761/1.639, allocations: 343.9 kB / 1.536 GB, free: 10.59 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000323/1.639, allocations: 28 kB / 1.536 GB, free: 10.56 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002263/1.642, allocations: 312.1 kB / 1.536 GB, free: 10.25 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004365/1.642, allocations: 108.2 kB / 1.536 GB, free: 10.15 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001525/1.642, allocations: 39.97 kB / 1.536 GB, free: 10.11 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0006784/1.643, allocations: 397.5 kB / 1.537 GB, free: 9.723 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5.11e-07/1.643, allocations: 4 kB / 1.537 GB, free: 9.719 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.003124/1.646, allocations: 0.6015 MB / 1.537 GB, free: 9.117 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 9,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.008215/1.654, allocations: 5.305 MB / 1.542 GB, free: 3.617 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.009388/1.664, allocations: 4.349 MB / 1.547 GB, free: 15.18 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.275e-05/1.664, allocations: 3.938 kB / 1.547 GB, free: 15.18 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.003483/1.667, allocations: 1.687 MB / 1.548 GB, free: 13.44 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/1.669, allocations: 131.8 kB / 1.548 GB, free: 13.31 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01141/1.68, allocations: 3.027 MB / 1.551 GB, free: 10.17 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001403/1.682, allocations: 1.115 MB / 1.552 GB, free: 9.027 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002562/1.684, allocations: 0.5617 MB / 1.553 GB, free: 8.461 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006313/1.685, allocations: 291.3 kB / 1.553 GB, free: 8.176 MB / 1.01 GB Notification: Performance of SimCode: time 1.853e-06/1.685, allocations: 0 / 1.553 GB, free: 8.176 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06787/1.753, allocations: 32.78 MB / 1.585 GB, free: 7.746 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002165/1.753, allocations: 214 kB / 1.585 GB, free: 7.52 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.998/4.751, allocations: 0 / 1.585 GB, free: 7.52 MB / 1.042 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull_res.mat does not exist to compare? outputFormat=mat