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.46/2.46, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001118/0.001118, allocations: 180.7 kB / 0.4901 GB, free: 2.219 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 223.1 MB / 0.7992 GB, free: 15.68 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.0008556/0.0008556, allocations: 93.41 kB / 0.9396 GB, free: 2.824 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003748/0.0003748, allocations: 7.938 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2715, allocations: 143 MB / 1.229 GB, free: 85.36 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9395/1.211, allocations: 192.3 MB / 1.417 GB, free: 73.27 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/1.211, allocations: 96.02 kB / 1.417 GB, free: 73.27 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.1172/1.329, allocations: 49.96 MB / 1.466 GB, free: 68.06 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.873e-06/1.329, allocations: 0 / 1.466 GB, free: 68.06 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.248e-05/1.329, allocations: 19.16 kB / 1.466 GB, free: 68.05 MB / 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.002172/1.331, allocations: 1.057 MB / 1.467 GB, free: 67.36 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/1.331, allocations: 16.28 kB / 1.467 GB, free: 67.36 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001577/1.331, allocations: 124.1 kB / 1.467 GB, free: 67.31 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008824/1.34, allocations: 1.621 MB / 1.469 GB, free: 67.25 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/1.341, allocations: 0.6177 MB / 1.469 GB, free: 66.96 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.737e-05/1.341, allocations: 45.17 kB / 1.469 GB, free: 66.95 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/1.341, allocations: 61.98 kB / 1.469 GB, free: 66.95 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004099/1.346, allocations: 1.923 MB / 1.471 GB, free: 66.19 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.707e-05/1.346, allocations: 11.8 kB / 1.471 GB, free: 66.18 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/1.346, allocations: 30.44 kB / 1.471 GB, free: 66.17 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002829/1.346, allocations: 146.4 kB / 1.472 GB, free: 66.13 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006835/1.353, allocations: 2.609 MB / 1.474 GB, free: 65.36 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009697/1.363, allocations: 6.671 MB / 1.481 GB, free: 60.93 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003179/1.366, allocations: 1.261 MB / 1.482 GB, free: 60.58 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00218/1.368, allocations: 1.494 MB / 1.483 GB, free: 59.63 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/1.368, allocations: 38.38 kB / 1.483 GB, free: 59.59 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=73): time 3.216e-06/1.368, allocations: 0 / 1.483 GB, free: 59.59 MB / 0.9011 GB Notification: Performance of matching and sorting (n=107): time 0.02626/1.394, allocations: 8.047 MB / 1.491 GB, free: 56.79 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/1.394, allocations: 93.83 kB / 1.491 GB, free: 56.69 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006137/1.395, allocations: 0.5105 MB / 1.492 GB, free: 56.49 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001194/1.395, allocations: 41.11 kB / 1.492 GB, free: 56.46 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/1.395, allocations: 405.9 kB / 1.492 GB, free: 56.18 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002684/1.396, allocations: 371.1 kB / 1.493 GB, free: 55.91 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.162e-05/1.396, allocations: 27.22 kB / 1.493 GB, free: 55.91 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001027/1.396, allocations: 392.1 kB / 1.493 GB, free: 55.57 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002575/1.398, allocations: 1.102 MB / 1.494 GB, free: 55.3 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002703/1.401, allocations: 1.449 MB / 1.495 GB, free: 54.62 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002667/1.404, allocations: 1.213 MB / 1.497 GB, free: 54.35 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/1.404, allocations: 3.938 kB / 1.497 GB, free: 54.35 MB / 0.9011 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.009348/1.413, allocations: 3.769 MB / 1.5 GB, free: 53.18 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001255/1.414, allocations: 3.919 MB / 1.504 GB, free: 49.05 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.091e-05/1.414, allocations: 11.72 kB / 1.504 GB, free: 49.05 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004544/1.419, allocations: 1.255 MB / 1.505 GB, free: 48.59 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002121/1.421, allocations: 466.8 kB / 1.506 GB, free: 48.43 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009345/1.43, allocations: 9.284 MB / 1.515 GB, free: 42.96 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002423/1.433, allocations: 304.4 kB / 1.515 GB, free: 42.84 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000303/1.433, allocations: 62.06 kB / 1.515 GB, free: 42.83 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/1.433, allocations: 3.906 kB / 1.515 GB, free: 42.83 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008918/1.442, allocations: 3.478 MB / 1.519 GB, free: 41.81 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.388e-05/1.442, allocations: 7.812 kB / 1.519 GB, free: 41.81 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003508/1.446, allocations: 1.03 MB / 1.52 GB, free: 41.44 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002036/1.448, allocations: 478.6 kB / 1.52 GB, free: 41.28 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01024/1.458, allocations: 10.39 MB / 1.53 GB, free: 34.95 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002266/1.46, allocations: 302.9 kB / 1.531 GB, free: 34.83 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002982/1.461, allocations: 61.53 kB / 1.531 GB, free: 34.82 MB / 0.9011 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 () * Number of clocked 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.0008619/1.462, allocations: 390.9 kB / 1.531 GB, free: 34.59 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003154/1.462, allocations: 82.03 kB / 1.531 GB, free: 34.54 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009633/1.472, allocations: 3.675 MB / 1.535 GB, free: 33.32 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/1.472, allocations: 15.75 kB / 1.535 GB, free: 33.32 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.901e-05/1.472, allocations: 7.875 kB / 1.535 GB, free: 33.32 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/1.472, allocations: 7.969 kB / 1.535 GB, free: 33.31 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01178/1.483, allocations: 5.406 MB / 1.54 GB, free: 31.16 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/1.483, allocations: 4.781 kB / 1.54 GB, free: 31.16 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001605/1.485, allocations: 373.9 kB / 1.54 GB, free: 31.02 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004084/1.489, allocations: 1.165 MB / 1.541 GB, free: 30.59 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001368/1.489, allocations: 37.59 kB / 1.541 GB, free: 30.58 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01107/1.5, allocations: 10.85 MB / 1.552 GB, free: 24.15 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.892e-06/1.5, allocations: 11.75 kB / 1.552 GB, free: 24.15 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009448/1.51, allocations: 3.85 MB / 1.556 GB, free: 22.34 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009422/1.511, allocations: 343.5 kB / 1.556 GB, free: 22.15 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002995/1.511, allocations: 33.86 kB / 1.556 GB, free: 22.14 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002119/1.513, allocations: 313.5 kB / 1.556 GB, free: 22.01 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003573/1.514, allocations: 105.7 kB / 1.557 GB, free: 21.96 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/1.514, allocations: 46.72 kB / 1.557 GB, free: 21.96 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0005909/1.514, allocations: 400.3 kB / 1.557 GB, free: 21.81 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.6e-07/1.514, allocations: 0 / 1.557 GB, free: 21.81 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002834/1.517, allocations: 0.6074 MB / 1.558 GB, free: 21.8 MB / 0.9011 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 () * Number of clocked 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.009621/1.527, allocations: 6.035 MB / 1.564 GB, free: 17.9 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0125/1.539, allocations: 5.433 MB / 1.569 GB, free: 15.86 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-05/1.54, allocations: 0 / 1.569 GB, free: 15.86 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.004585/1.544, allocations: 2.061 MB / 1.571 GB, free: 14.27 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/1.545, allocations: 133 kB / 1.571 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0269/1.572, allocations: 17.1 MB / 1.588 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/1.573, allocations: 1.115 MB / 1.589 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.002224/1.576, allocations: 0.5382 MB / 1.589 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000584/1.576, allocations: 300.8 kB / 1.59 GB, free: 12.72 MB / 0.9167 GB Notification: Performance of SimCode: time 1.132e-06/1.576, allocations: 0 / 1.59 GB, free: 12.72 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06455/1.641, allocations: 32.09 MB / 1.621 GB, free: 13 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002702/1.641, allocations: 245.8 kB / 1.621 GB, free: 12.76 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.928/4.569, allocations: 0 / 1.621 GB, free: 12.76 MB / 0.948 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