Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.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.ACACConverter,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_latest_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/Buildings 10.0.0-master/package.mo): time 2.278/2.278, allocations: 390.5 MB / 398 MB, free: 10.9 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.001492/0.001492, allocations: 172.9 kB / 491.2 MB, free: 1.562 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.564/1.564, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.0009914/0.0009914, allocations: 95.58 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.103e-05/2.097e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2913, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9922/1.284, allocations: 178.6 MB / 1.387 GB, free: 16.72 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/1.284, allocations: 94.78 kB / 1.387 GB, free: 16.7 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04356/1.327, allocations: 19.89 MB / 1.406 GB, free: 20.66 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.004e-06/1.327, allocations: 3.938 kB / 1.406 GB, free: 20.65 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.541e-05/1.328, allocations: 8 kB / 1.406 GB, free: 20.64 MB / 0.8386 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.0009975/1.329, allocations: 0.547 MB / 1.407 GB, free: 20.07 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/1.329, allocations: 8.031 kB / 1.407 GB, free: 20.06 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008816/1.329, allocations: 99.56 kB / 1.407 GB, free: 19.96 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/1.33, allocations: 252.3 kB / 1.407 GB, free: 19.7 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/1.33, allocations: 7.938 kB / 1.407 GB, free: 19.69 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.538e-05/1.33, allocations: 12 kB / 1.407 GB, free: 19.68 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004153/1.33, allocations: 253.6 kB / 1.407 GB, free: 19.51 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004278/1.331, allocations: 344.6 kB / 1.408 GB, free: 19.22 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/1.331, allocations: 0 / 1.408 GB, free: 19.22 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/1.331, allocations: 0 / 1.408 GB, free: 19.22 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.93e-05/1.331, allocations: 23.77 kB / 1.408 GB, free: 19.2 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001705/1.333, allocations: 1.678 MB / 1.409 GB, free: 17.56 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004673/1.333, allocations: 313 kB / 1.41 GB, free: 17.33 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/1.333, allocations: 166 kB / 1.41 GB, free: 17.21 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001574/1.333, allocations: 97.38 kB / 1.41 GB, free: 17.11 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/1.334, allocations: 34.56 kB / 1.41 GB, free: 17.06 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 1.503e-06/1.334, allocations: 0 / 1.41 GB, free: 17.06 MB / 0.8386 GB Notification: Performance of matching and sorting (n=35): time 0.002872/1.336, allocations: 1.099 MB / 1.411 GB, free: 16.22 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/1.336, allocations: 81.11 kB / 1.411 GB, free: 16.12 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/1.337, allocations: 154.6 kB / 1.411 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.715e-05/1.337, allocations: 25.7 kB / 1.411 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.136e-05/1.337, allocations: 143.7 kB / 1.412 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.883e-05/1.337, allocations: 109.8 kB / 1.412 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/1.337, allocations: 4 kB / 1.412 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.425e-05/1.337, allocations: 330.6 kB / 1.412 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/1.337, allocations: 216.3 kB / 1.412 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002769/1.337, allocations: 293.7 kB / 1.412 GB, free: 15.03 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000621/1.338, allocations: 301.8 kB / 1.413 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/1.338, allocations: 3.953 kB / 1.413 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001123/1.339, allocations: 0.6006 MB / 1.413 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004527/1.34, allocations: 0.8744 MB / 1.414 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/1.34, allocations: 4 kB / 1.414 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-05/1.34, allocations: 4.047 kB / 1.414 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008501/1.341, allocations: 155 kB / 1.414 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/1.341, allocations: 11.94 kB / 1.414 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003944/1.341, allocations: 42.69 kB / 1.414 GB, free: 13.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.7e-05/1.341, allocations: 18.86 kB / 1.414 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/1.341, allocations: 4 kB / 1.414 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000913/1.342, allocations: 461.4 kB / 1.415 GB, free: 12.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/1.342, allocations: 0 / 1.415 GB, free: 12.89 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.955e-06/1.342, allocations: 4 kB / 1.415 GB, free: 12.89 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007054/1.343, allocations: 134.6 kB / 1.415 GB, free: 12.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/1.343, allocations: 4 kB / 1.415 GB, free: 12.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002885/1.343, allocations: 36.05 kB / 1.415 GB, free: 12.72 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/1.343, allocations: 15.12 kB / 1.415 GB, free: 12.71 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000146/1.343, allocations: 124.1 kB / 1.415 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001022/1.344, allocations: 0.5478 MB / 1.416 GB, free: 12.19 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.446e-05/1.344, allocations: 19.81 kB / 1.416 GB, free: 12.17 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/1.346, allocations: 0.6084 MB / 1.416 GB, free: 11.75 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/1.346, allocations: 11.98 kB / 1.416 GB, free: 11.73 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/1.346, allocations: 0 / 1.416 GB, free: 11.73 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/1.346, allocations: 7.953 kB / 1.416 GB, free: 11.73 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002088/1.348, allocations: 1.268 MB / 1.418 GB, free: 10.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/1.348, allocations: 0 / 1.418 GB, free: 10.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005554/1.348, allocations: 118.8 kB / 1.418 GB, free: 10.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.237e-06/1.348, allocations: 7.953 kB / 1.418 GB, free: 10.49 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.191e-05/1.348, allocations: 10.55 kB / 1.418 GB, free: 10.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/1.348, allocations: 4 kB / 1.418 GB, free: 10.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/1.348, allocations: 4 kB / 1.418 GB, free: 10.47 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009592/1.349, allocations: 0.7678 MB / 1.418 GB, free: 9.754 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/1.35, allocations: 142 kB / 1.419 GB, free: 9.613 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.981e-05/1.35, allocations: 4 kB / 1.419 GB, free: 9.609 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003513/1.35, allocations: 39.94 kB / 1.419 GB, free: 9.57 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.594e-05/1.35, allocations: 35.36 kB / 1.419 GB, free: 9.539 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.641e-05/1.35, allocations: 11.44 kB / 1.419 GB, free: 9.531 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001092/1.35, allocations: 139.3 kB / 1.419 GB, free: 9.41 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.013e-06/1.35, allocations: 0 / 1.419 GB, free: 9.41 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007319/1.351, allocations: 147.6 kB / 1.419 GB, free: 9.27 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001524/1.352, allocations: 1.894 MB / 1.421 GB, free: 7.434 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001018/1.354, allocations: 0.6912 MB / 1.421 GB, free: 6.969 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.354, allocations: 0 / 1.421 GB, free: 6.969 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003113/1.354, allocations: 220.5 kB / 1.422 GB, free: 6.82 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/1.354, allocations: 32.83 kB / 1.422 GB, free: 6.793 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/1.356, allocations: 0.6347 MB / 1.422 GB, free: 6.199 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/1.356, allocations: 0.7917 MB / 1.423 GB, free: 5.387 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0005472/1.357, allocations: 167.1 kB / 1.423 GB, free: 5.223 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001908/1.357, allocations: 78.09 kB / 1.423 GB, free: 5.191 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.357, allocations: 4 kB / 1.423 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02782/1.385, allocations: 6.488 MB / 1.43 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/1.385, allocations: 169 kB / 1.43 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.944/3.329, allocations: 2.375 kB / 1.43 GB, free: 14.54 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.mat does not exist to compare? outputFormat=mat