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.00812/0.00812, allocations: 96.31 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002083/0.002083, allocations: 195.3 kB / 16.67 MB, free: 5.969 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 4.266 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.531/2.531, allocations: 437.1 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 63.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2757, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.004593/0.2803, allocations: 2.747 MB / 1.169 GB, free: 4.539 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003239/0.2836, allocations: 2.084 MB / 1.171 GB, free: 2.441 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001971/0.2838, allocations: 4 kB / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0008847/0.2847, allocations: 227.1 kB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0005402/0.2853, allocations: 231 kB / 1.171 GB, free: 1.988 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006869/0.286, allocations: 271.2 kB / 1.172 GB, free: 1.723 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003918/0.2864, allocations: 311.1 kB / 1.172 GB, free: 1.418 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000326/0.2867, allocations: 158.3 kB / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/0.2869, allocations: 131.5 kB / 1.172 GB, free: 1.133 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003237/0.2873, allocations: 155.5 kB / 1.172 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.508e-05/0.2873, allocations: 24 kB / 1.172 GB, free: 0.957 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006688/0.288, allocations: 415.2 kB / 1.173 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.2881, allocations: 95.77 kB / 1.173 GB, free: 468 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.2883, allocations: 115.5 kB / 1.173 GB, free: 352 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006881/0.289, allocations: 494.3 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.289, allocations: 4 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.353e-06/0.289, allocations: 3.938 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.289, allocations: 0 / 1.173 GB, free: 15.85 MB / 0.9356 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.001006/0.29, allocations: 0.5685 MB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.2901, allocations: 8.031 kB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.238e-05/0.2902, allocations: 58.72 kB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.2912, allocations: 124.6 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.2915, allocations: 264.5 kB / 1.174 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.2915, allocations: 16.81 kB / 1.174 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.604e-05/0.2916, allocations: 23.94 kB / 1.174 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006836/0.2923, allocations: 397.9 kB / 1.175 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.2923, allocations: 0 / 1.175 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.22e-05/0.2924, allocations: 8 kB / 1.175 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.173e-05/0.2924, allocations: 23.98 kB / 1.175 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007367/0.2932, allocations: 375.4 kB / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002022/0.2952, allocations: 1.749 MB / 1.177 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000755/0.296, allocations: 356.9 kB / 1.177 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003542/0.2963, allocations: 189.6 kB / 1.177 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001314/0.2965, allocations: 85.09 kB / 1.178 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.2965, allocations: 42.56 kB / 1.178 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=25): time 1.543e-06/0.2965, allocations: 0 / 1.178 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35): time 0.009161/0.3057, allocations: 2.049 MB / 1.18 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.3057, allocations: 93.03 kB / 1.18 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.3059, allocations: 182.9 kB / 1.18 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.132e-05/0.306, allocations: 33.64 kB / 1.18 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.518e-05/0.3061, allocations: 152.7 kB / 1.18 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.3062, allocations: 122.9 kB / 1.18 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.3063, allocations: 81.67 kB / 1.18 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.3064, allocations: 326.8 kB / 1.18 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005819/0.307, allocations: 272.6 kB / 1.181 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006191/0.3077, allocations: 349.5 kB / 1.181 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.3089, allocations: 0.6228 MB / 1.182 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3089, allocations: 0 / 1.182 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001408/0.3103, allocations: 0.6622 MB / 1.182 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.3103, allocations: 8 kB / 1.182 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3103, allocations: 0 / 1.182 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.3104, allocations: 4 kB / 1.182 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.3114, allocations: 156 kB / 1.183 GB, free: 6.066 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.3114, allocations: 4 kB / 1.183 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004876/0.3119, allocations: 55.91 kB / 1.183 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.576e-05/0.3119, allocations: 16 kB / 1.183 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006539/0.3126, allocations: 371.9 kB / 1.183 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005994/0.3132, allocations: 337.8 kB / 1.183 GB, free: 5.262 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001166/0.3144, allocations: 0.5941 MB / 1.184 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.854e-06/0.3144, allocations: 4 kB / 1.184 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001339/0.3158, allocations: 0.6416 MB / 1.184 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.3158, allocations: 4 kB / 1.184 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.3158, allocations: 4 kB / 1.184 GB, free: 3.977 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.621e-06/0.3158, allocations: 4 kB / 1.184 GB, free: 3.973 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009435/0.3167, allocations: 151.7 kB / 1.185 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.3168, allocations: 7.984 kB / 1.185 GB, free: 3.816 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004649/0.3172, allocations: 56.11 kB / 1.185 GB, free: 3.762 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.293e-05/0.3173, allocations: 16 kB / 1.185 GB, free: 3.746 MB / 0.9356 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.000158/0.3175, allocations: 204.1 kB / 1.185 GB, free: 3.539 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.3176, allocations: 27.78 kB / 1.185 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/0.319, allocations: 0.6882 MB / 1.186 GB, free: 2.816 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.319, allocations: 4 kB / 1.186 GB, free: 2.812 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.319, allocations: 4 kB / 1.186 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3191, allocations: 0 / 1.186 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00222/0.3213, allocations: 1.372 MB / 1.187 GB, free: 1.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.3213, allocations: 4.25 kB / 1.187 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006085/0.3219, allocations: 123.8 kB / 1.187 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.946e-06/0.3219, allocations: 4 kB / 1.187 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.51e-05/0.322, allocations: 11.94 kB / 1.187 GB, free: 1.199 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.322, allocations: 4 kB / 1.187 GB, free: 1.195 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.322, allocations: 4 kB / 1.187 GB, free: 1.191 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.323, allocations: 0.7109 MB / 1.188 GB, free: 452 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/0.3232, allocations: 140.9 kB / 1.188 GB, free: 292 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.114e-05/0.3233, allocations: 11.94 kB / 1.188 GB, free: 280 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000393/0.3237, allocations: 39.94 kB / 1.188 GB, free: 240 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.749e-05/0.3238, allocations: 23.97 kB / 1.188 GB, free: 216 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.71e-05/0.3238, allocations: 19.98 kB / 1.188 GB, free: 196 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001788/0.324, allocations: 152.3 kB / 1.188 GB, free: 44 kB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/0.324, allocations: 3.938 kB / 1.188 GB, free: 40 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006821/0.3247, allocations: 152 kB / 1.188 GB, free: 15.89 MB / 0.9512 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.001403/0.3261, allocations: 1.299 MB / 1.19 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001793/0.3279, allocations: 0.8745 MB / 1.19 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3279, allocations: 0 / 1.19 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0004586/0.3284, allocations: 248.8 kB / 1.191 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005465/0.329, allocations: 49.62 kB / 1.191 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005945/0.3349, allocations: 3.901 MB / 1.195 GB, free: 9.293 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.3353, allocations: 0.7799 MB / 1.195 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000533/0.3358, allocations: 190.7 kB / 1.195 GB, free: 8.297 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002259/0.3361, allocations: 79.41 kB / 1.196 GB, free: 8.219 MB / 0.9512 GB Notification: Performance of SimCode: time 4.81e-07/0.3361, allocations: 0 / 1.196 GB, free: 8.219 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02473/0.3608, allocations: 7.705 MB / 1.203 GB, free: 0.6836 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.574/7.935, allocations: 4 kB / 1.203 GB, free: 0.6797 MB / 0.9512 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