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/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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002053/0.002053, allocations: 192 kB / 16.53 MB, free: 6.391 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.34/1.34, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.656/2.656, allocations: 469.4 MB / 0.742 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 64.75 kB / 0.9083 GB, free: 34.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2656, allocations: 159.1 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.004024/0.2697, allocations: 2.748 MB / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002954/0.2726, allocations: 2.08 MB / 1.068 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.2728, allocations: 4 kB / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007611/0.2736, allocations: 235.1 kB / 1.069 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005067/0.2741, allocations: 223 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00068/0.2748, allocations: 275.3 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004/0.2752, allocations: 311 kB / 1.069 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003414/0.2755, allocations: 158 kB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002045/0.2757, allocations: 123.6 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003064/0.276, allocations: 159.5 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.598e-05/0.2761, allocations: 16 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007038/0.2768, allocations: 419.2 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.2769, allocations: 91.77 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.2771, allocations: 115.4 kB / 1.07 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000668/0.2778, allocations: 486.9 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2778, allocations: 0 / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2778, allocations: 0 / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.2778, allocations: 4 kB / 1.071 GB, free: 7.121 MB / 0.8262 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.0009391/0.2787, allocations: 0.5615 MB / 1.071 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.2788, allocations: 8.031 kB / 1.071 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.521e-05/0.2789, allocations: 54.73 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.2799, allocations: 136.4 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003556/0.2802, allocations: 257.6 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.2803, allocations: 16.8 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.776e-05/0.2803, allocations: 27.88 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000711/0.281, allocations: 393.9 kB / 1.072 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.2811, allocations: 8 kB / 1.072 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.321e-05/0.2811, allocations: 11.94 kB / 1.072 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.203e-05/0.2812, allocations: 23.98 kB / 1.072 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007396/0.2819, allocations: 371.6 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002153/0.2841, allocations: 1.737 MB / 1.074 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007761/0.2849, allocations: 361 kB / 1.075 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003547/0.2852, allocations: 189.5 kB / 1.075 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000144/0.2854, allocations: 101 kB / 1.075 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.2854, allocations: 38.56 kB / 1.075 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=25): time 1.523e-06/0.2854, allocations: 0 / 1.075 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35): time 0.008972/0.2944, allocations: 2.044 MB / 1.077 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.2945, allocations: 81.11 kB / 1.077 GB, free: 408 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.2946, allocations: 174.7 kB / 1.077 GB, free: 224 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.197e-05/0.2947, allocations: 33.7 kB / 1.077 GB, free: 184 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.962e-05/0.2948, allocations: 152.3 kB / 1.077 GB, free: 28 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.2949, allocations: 118.5 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/0.2951, allocations: 81.67 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.2952, allocations: 330.8 kB / 1.078 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000597/0.2958, allocations: 272.6 kB / 1.078 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006139/0.2964, allocations: 345.4 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.2976, allocations: 0.6189 MB / 1.079 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2976, allocations: 0 / 1.079 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001363/0.299, allocations: 0.6706 MB / 1.08 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.299, allocations: 8.219 kB / 1.08 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.299, allocations: 8 kB / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.299, allocations: 4 kB / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009699/0.3, allocations: 147.8 kB / 1.08 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.3, allocations: 4 kB / 1.08 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004805/0.3005, allocations: 55.92 kB / 1.08 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-05/0.3006, allocations: 23.98 kB / 1.08 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006366/0.3012, allocations: 367.9 kB / 1.08 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005765/0.3018, allocations: 333.1 kB / 1.081 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001125/0.3029, allocations: 0.5978 MB / 1.081 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.833e-06/0.3029, allocations: 0 / 1.081 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001315/0.3043, allocations: 0.6416 MB / 1.082 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.3043, allocations: 8 kB / 1.082 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.3043, allocations: 0 / 1.082 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.841e-06/0.3043, allocations: 4 kB / 1.082 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009058/0.3052, allocations: 156 kB / 1.082 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.3052, allocations: 4 kB / 1.082 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000452/0.3057, allocations: 55.92 kB / 1.082 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.966e-05/0.3057, allocations: 16 kB / 1.082 GB, free: 11.04 MB / 0.8419 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.0001472/0.3059, allocations: 201.8 kB / 1.082 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.148e-05/0.306, allocations: 27.75 kB / 1.082 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/0.3075, allocations: 0.6841 MB / 1.083 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.3075, allocations: 4 kB / 1.083 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3075, allocations: 0 / 1.083 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3076, allocations: 4 kB / 1.083 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002185/0.3097, allocations: 1.364 MB / 1.084 GB, free: 8.641 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.3098, allocations: 0 / 1.084 GB, free: 8.641 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005958/0.3104, allocations: 123.8 kB / 1.085 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/0.3104, allocations: 8.031 kB / 1.085 GB, free: 8.512 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.138e-05/0.3104, allocations: 12.19 kB / 1.085 GB, free: 8.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/0.3104, allocations: 11.94 kB / 1.085 GB, free: 8.488 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.3104, allocations: 0 / 1.085 GB, free: 8.488 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.3115, allocations: 0.7148 MB / 1.085 GB, free: 7.734 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/0.3117, allocations: 140.7 kB / 1.085 GB, free: 7.578 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.748e-05/0.3117, allocations: 15.94 kB / 1.085 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003771/0.3121, allocations: 47.94 kB / 1.085 GB, free: 7.516 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.466e-05/0.3122, allocations: 23.97 kB / 1.085 GB, free: 7.492 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/0.3122, allocations: 8 kB / 1.085 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001887/0.3124, allocations: 160.1 kB / 1.086 GB, free: 7.328 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3124, allocations: 0 / 1.086 GB, free: 7.328 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006337/0.3131, allocations: 144 kB / 1.086 GB, free: 7.188 MB / 0.8419 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.001383/0.3145, allocations: 1.293 MB / 1.087 GB, free: 5.844 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001879/0.3164, allocations: 0.9295 MB / 1.088 GB, free: 4.914 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3164, allocations: 0 / 1.088 GB, free: 4.914 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004587/0.3168, allocations: 255.7 kB / 1.088 GB, free: 4.664 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005222/0.3174, allocations: 41.86 kB / 1.088 GB, free: 4.625 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005986/0.3234, allocations: 3.868 MB / 1.092 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.3238, allocations: 0.7838 MB / 1.093 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0006037/0.3244, allocations: 170.8 kB / 1.093 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.3246, allocations: 87.39 kB / 1.093 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of SimCode: time 3.91e-07/0.3246, allocations: 0 / 1.093 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02486/0.3495, allocations: 7.633 MB / 1.1 GB, free: 8.027 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.674/8.023, allocations: 9.844 kB / 1.1 GB, free: 8.02 MB / 0.8575 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 & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches