Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_9_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.005226/0.005226, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001048/0.001048, allocations: 202.3 kB / 16.68 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.299/2.299, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 71.5 kB / 0.9504 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2363, allocations: 140.4 MB / 1.087 GB, free: 2.035 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.004056/0.2404, allocations: 2.734 MB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002958/0.2434, allocations: 2.092 MB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.2435, allocations: 4 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007767/0.2443, allocations: 235 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004933/0.2448, allocations: 215.1 kB / 1.093 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006508/0.2455, allocations: 280.8 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003603/0.2459, allocations: 311.1 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002866/0.2462, allocations: 154.3 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.2464, allocations: 123.6 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002699/0.2466, allocations: 159.4 kB / 1.094 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.76e-05/0.2467, allocations: 20 kB / 1.094 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006195/0.2473, allocations: 423.2 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.2474, allocations: 91.78 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.2476, allocations: 115.4 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006711/0.2482, allocations: 498.3 kB / 1.095 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2483, allocations: 0 / 1.095 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2483, allocations: 0 / 1.095 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.2483, allocations: 0 / 1.095 GB, free: 10.6 MB / 0.8575 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.001008/0.2493, allocations: 0.5686 MB / 1.095 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.2494, allocations: 12.03 kB / 1.095 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.372e-05/0.2494, allocations: 50.73 kB / 1.095 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.2505, allocations: 132.6 kB / 1.095 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.2508, allocations: 269.6 kB / 1.096 GB, free: 9.484 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.2508, allocations: 12.81 kB / 1.096 GB, free: 9.473 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.683e-05/0.2509, allocations: 19.94 kB / 1.096 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00068/0.2516, allocations: 401.8 kB / 1.096 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.2516, allocations: 4 kB / 1.096 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.495e-05/0.2517, allocations: 15.98 kB / 1.096 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-05/0.2517, allocations: 19.98 kB / 1.096 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007702/0.2525, allocations: 375.6 kB / 1.097 GB, free: 8.625 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/0.2545, allocations: 1.738 MB / 1.098 GB, free: 6.742 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007572/0.2553, allocations: 356.9 kB / 1.099 GB, free: 6.375 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003603/0.2557, allocations: 189.6 kB / 1.099 GB, free: 6.184 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000142/0.2558, allocations: 89.09 kB / 1.099 GB, free: 6.078 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.2559, allocations: 34.56 kB / 1.099 GB, free: 6.035 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=25): time 3.667e-06/0.2559, allocations: 4 kB / 1.099 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of matching and sorting (n=35): time 0.009133/0.265, allocations: 2.053 MB / 1.101 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.2651, allocations: 89.03 kB / 1.101 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.2652, allocations: 190.8 kB / 1.101 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.057e-05/0.2653, allocations: 29.7 kB / 1.101 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.561e-05/0.2654, allocations: 152.7 kB / 1.101 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.817e-05/0.2655, allocations: 119 kB / 1.101 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/0.2657, allocations: 81.62 kB / 1.101 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.2658, allocations: 330.8 kB / 1.102 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005833/0.2664, allocations: 268.7 kB / 1.102 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006312/0.267, allocations: 349.5 kB / 1.102 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.2682, allocations: 0.6229 MB / 1.103 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2682, allocations: 0 / 1.103 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001402/0.2697, allocations: 0.6622 MB / 1.104 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.2697, allocations: 8 kB / 1.104 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2697, allocations: 0 / 1.104 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.2697, allocations: 4 kB / 1.104 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009974/0.2707, allocations: 152 kB / 1.104 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/0.2707, allocations: 8 kB / 1.104 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004839/0.2712, allocations: 55.91 kB / 1.104 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.61e-05/0.2713, allocations: 19.98 kB / 1.104 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006455/0.2719, allocations: 375.8 kB / 1.104 GB, free: 380 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006132/0.2726, allocations: 337.9 kB / 1.105 GB, free: 8 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001168/0.2737, allocations: 0.5862 MB / 1.105 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.854e-06/0.2737, allocations: 0 / 1.105 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001346/0.2751, allocations: 0.6459 MB / 1.106 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 8.776e-06/0.2751, allocations: 4 kB / 1.106 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-06/0.2751, allocations: 4 kB / 1.106 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.873e-06/0.2751, allocations: 4 kB / 1.106 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009381/0.2761, allocations: 155.7 kB / 1.106 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.2761, allocations: 4 kB / 1.106 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004771/0.2766, allocations: 55.98 kB / 1.106 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.055e-05/0.2766, allocations: 19.94 kB / 1.106 GB, free: 14.5 MB / 0.8731 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.0001491/0.2768, allocations: 208.1 kB / 1.106 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.145e-05/0.2769, allocations: 23.89 kB / 1.106 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001451/0.2783, allocations: 0.6801 MB / 1.107 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.2784, allocations: 4 kB / 1.107 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.2784, allocations: 4 kB / 1.107 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.2784, allocations: 3.984 kB / 1.107 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002212/0.2806, allocations: 1.364 MB / 1.108 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.2806, allocations: 4 kB / 1.108 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006246/0.2812, allocations: 124 kB / 1.108 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.2813, allocations: 4 kB / 1.108 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.177e-05/0.2813, allocations: 15.94 kB / 1.108 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.2813, allocations: 0 / 1.108 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2813, allocations: 4 kB / 1.108 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.2823, allocations: 0.7106 MB / 1.109 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001704/0.2825, allocations: 140.9 kB / 1.109 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.996e-05/0.2826, allocations: 23.88 kB / 1.109 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003845/0.283, allocations: 35.95 kB / 1.109 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.181e-05/0.2831, allocations: 31.95 kB / 1.109 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.733e-05/0.2831, allocations: 8 kB / 1.109 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001764/0.2833, allocations: 163.1 kB / 1.109 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2833, allocations: 0 / 1.109 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000635/0.2839, allocations: 147.9 kB / 1.11 GB, free: 10.64 MB / 0.8731 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.001362/0.2853, allocations: 1.287 MB / 1.111 GB, free: 9.301 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001744/0.2871, allocations: 0.8722 MB / 1.112 GB, free: 8.43 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2871, allocations: 0 / 1.112 GB, free: 8.43 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004541/0.2875, allocations: 255.7 kB / 1.112 GB, free: 8.18 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005248/0.2881, allocations: 49.86 kB / 1.112 GB, free: 8.133 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005763/0.2938, allocations: 3.885 MB / 1.116 GB, free: 4.066 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.2942, allocations: 0.7916 MB / 1.117 GB, free: 3.25 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0005336/0.2947, allocations: 178.8 kB / 1.117 GB, free: 3.074 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002205/0.295, allocations: 79.41 kB / 1.117 GB, free: 2.996 MB / 0.8731 GB Notification: Performance of SimCode: time 4.11e-07/0.295, allocations: 0 / 1.117 GB, free: 2.996 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.3184, allocations: 7.711 MB / 1.124 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.36/7.678, allocations: 15.06 kB / 1.124 GB, free: 11.42 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches