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.269/2.269, allocations: 390.3 MB / 402.8 MB, free: 6.707 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.001094/0.001094, allocations: 187.9 kB / 496.1 MB, free: 12.87 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.525/1.525, allocations: 221.3 MB / 0.7915 GB, free: 5.391 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.0009476/0.0009474, allocations: 102.8 kB / 0.9318 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.275e-05/3.303e-05, allocations: 0 / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2946, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.049/1.344, allocations: 179.3 MB / 1.394 GB, free: 8.695 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/1.344, allocations: 92.19 kB / 1.394 GB, free: 8.645 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.05191/1.396, allocations: 19.95 MB / 1.414 GB, free: 7.719 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.793e-06/1.396, allocations: 0 / 1.414 GB, free: 7.719 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.013e-05/1.396, allocations: 8 kB / 1.414 GB, free: 7.711 MB / 0.8698 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.001226/1.398, allocations: 0.5429 MB / 1.414 GB, free: 7.141 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.949e-05/1.398, allocations: 8.031 kB / 1.414 GB, free: 7.133 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001041/1.398, allocations: 60.34 kB / 1.414 GB, free: 7.078 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009413/1.399, allocations: 103.5 kB / 1.414 GB, free: 6.977 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004446/1.399, allocations: 252.5 kB / 1.414 GB, free: 6.707 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/1.399, allocations: 15.36 kB / 1.414 GB, free: 6.695 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.46e-05/1.399, allocations: 17.88 kB / 1.414 GB, free: 6.684 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006376/1.4, allocations: 370.8 kB / 1.415 GB, free: 6.379 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/1.4, allocations: 3.125 kB / 1.415 GB, free: 6.379 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.463e-05/1.4, allocations: 7.062 kB / 1.415 GB, free: 6.375 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.847e-05/1.4, allocations: 27.2 kB / 1.415 GB, free: 6.352 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005551/1.401, allocations: 330.2 kB / 1.415 GB, free: 6.125 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002185/1.403, allocations: 1.731 MB / 1.417 GB, free: 4.438 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005928/1.404, allocations: 323.2 kB / 1.417 GB, free: 4.199 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002417/1.404, allocations: 167.5 kB / 1.417 GB, free: 4.086 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001803/1.404, allocations: 104.5 kB / 1.417 GB, free: 3.969 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/1.404, allocations: 34.42 kB / 1.417 GB, free: 3.926 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=25): time 1.422e-06/1.404, allocations: 0 / 1.417 GB, free: 3.926 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35): time 0.006408/1.41, allocations: 1.715 MB / 1.419 GB, free: 2.477 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/1.411, allocations: 81.11 kB / 1.419 GB, free: 2.379 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/1.411, allocations: 163.1 kB / 1.419 GB, free: 2.227 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.503e-05/1.411, allocations: 36.52 kB / 1.419 GB, free: 2.191 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/1.411, allocations: 149.1 kB / 1.42 GB, free: 2.051 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/1.411, allocations: 119 kB / 1.42 GB, free: 1.949 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-05/1.411, allocations: 7.625 kB / 1.42 GB, free: 1.945 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001563/1.411, allocations: 338.2 kB / 1.42 GB, free: 1.617 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000351/1.412, allocations: 222.3 kB / 1.42 GB, free: 1.48 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003852/1.412, allocations: 301 kB / 1.421 GB, free: 1.238 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004099/1.412, allocations: 263.4 kB / 1.421 GB, free: 1.07 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/1.412, allocations: 0 / 1.421 GB, free: 1.07 MB / 0.8698 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009579/1.413, allocations: 0.5831 MB / 1.421 GB, free: 0.6523 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004935/1.414, allocations: 0.8768 MB / 1.422 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/1.414, allocations: 4 kB / 1.422 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.919e-05/1.414, allocations: 4 kB / 1.422 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/1.415, allocations: 179.2 kB / 1.422 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.672e-05/1.415, allocations: 7.984 kB / 1.422 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004248/1.416, allocations: 50.94 kB / 1.422 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.972e-05/1.416, allocations: 15.19 kB / 1.422 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/1.416, allocations: 4 kB / 1.422 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008583/1.416, allocations: 0.5181 MB / 1.423 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/1.416, allocations: 4 kB / 1.423 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.646e-06/1.416, allocations: 4 kB / 1.423 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/1.417, allocations: 167.4 kB / 1.423 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/1.418, allocations: 4 kB / 1.423 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003638/1.418, allocations: 54.56 kB / 1.423 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.115e-05/1.418, allocations: 15.98 kB / 1.423 GB, free: 14.89 MB / 0.8855 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.0001783/1.418, allocations: 129.4 kB / 1.423 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.755e-05/1.418, allocations: 19.72 kB / 1.423 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/1.419, allocations: 0.6068 MB / 1.424 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/1.419, allocations: 7.984 kB / 1.424 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.419, allocations: 0 / 1.424 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/1.419, allocations: 3.953 kB / 1.424 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002157/1.422, allocations: 1.308 MB / 1.425 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/1.422, allocations: 0 / 1.425 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005602/1.422, allocations: 131.6 kB / 1.425 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/1.422, allocations: 4 kB / 1.425 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.383e-05/1.422, allocations: 7.812 kB / 1.425 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.245e-06/1.422, allocations: 11.94 kB / 1.425 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.422, allocations: 0 / 1.425 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009116/1.423, allocations: 0.7566 MB / 1.426 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002132/1.423, allocations: 138.5 kB / 1.426 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.166e-05/1.424, allocations: 15.19 kB / 1.426 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003503/1.424, allocations: 47.19 kB / 1.426 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.543e-05/1.424, allocations: 31.17 kB / 1.426 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/1.424, allocations: 15.17 kB / 1.426 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001548/1.424, allocations: 145.8 kB / 1.426 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.31e-07/1.424, allocations: 4 kB / 1.426 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007977/1.425, allocations: 160.5 kB / 1.427 GB, free: 11.84 MB / 0.8855 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.001754/1.427, allocations: 1.894 MB / 1.428 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001345/1.428, allocations: 0.7795 MB / 1.429 GB, free: 9.488 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/1.428, allocations: 0 / 1.429 GB, free: 9.488 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003376/1.428, allocations: 221.4 kB / 1.429 GB, free: 9.336 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/1.429, allocations: 44.72 kB / 1.429 GB, free: 9.305 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/1.431, allocations: 0.6515 MB / 1.43 GB, free: 8.707 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004456/1.431, allocations: 0.7876 MB / 1.431 GB, free: 7.902 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000601/1.432, allocations: 178.8 kB / 1.431 GB, free: 7.727 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001969/1.432, allocations: 78.33 kB / 1.431 GB, free: 7.691 MB / 0.8855 GB Notification: Performance of SimCode: time 1.213e-06/1.432, allocations: 0 / 1.431 GB, free: 7.691 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02482/1.457, allocations: 6.911 MB / 1.438 GB, free: 0.9805 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002453/1.457, allocations: 186.2 kB / 1.438 GB, free: 0.7461 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.098/3.555, allocations: 1.719 kB / 1.438 GB, free: 0.7461 MB / 0.8855 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